Reputation: 31
Here I have two queries:
Initially I used the gmail domain for SMTP authentication mails triggered to my recipients. Here my requirement is Microsoft outlook domain for SMTP authentication. My recipients are unable to receive mail. Please guide me.
SMTP AUTHENTICATION
Here I used the steps:
SMTP server --> smtp.office365.com
SMTP Port --> 587
encrypted protocol --> TLS
SMTP AUTHENTICATION (used microsoft outlook mail)
Username: ---> [email protected]
Password: ----> xxxxxxxxxxx
How can I add CC and BCC in mail by using webforms in drupal 7?
Upvotes: 0
Views: 494
Reputation: 301
You can send emails to multiple addresses, the email can be send to each address separately (if you don't want all recipients to see each other) or you can send one email to multiple addresses. Configuration is located on your webform: node/yourNID/webform/emails
However if you really wish CC there's a module for that: https://www.drupal.org/project/webform_cc
Or you can create your own function:
mytheme_webform_mail_headers($variables) {
$headers = array(
'X-Mailer' => 'Drupal Webform (PHP/' . phpversion() . ')',
);
$headers['cc'] = '[email protected]';
return $headers;
}
Upvotes: 0