Here I have two queries:
SMTP authentication in MS Outlook mail
Used modules are SMTP authentication and webforms for drupal 7
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:
Turn this module on or off --> on
Turn on delivery of emails --> on
SMTP SERVER SETTINGS:
SMTP server --> smtp.office365.com
SMTP Port --> 587
encrypted protocol --> TLS
SMTP AUTHENTICATION (used microsoft outlook mail)
Username: ---> retail#companyname.com
Password: ----> xxxxxxxxxxx
How can I add CC and BCC in mail by using webforms in drupal 7?
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#example.com';
return $headers;
}
Related
I've a domain and an email address dedicated. I've a SMTP server provided by my domain. I'm asking myself if it's possible to send mail directly with this SMTP server without passing through API like MailGun (because, it's not free!), and how can I do that ?
Thanks !
I have applied smtp method for sending mail through api and frontend. i configure gmail for smtp and used AWS server but after 10 to 15 mail my gmail account block and not able to send mail.
because of "ohio" region AWS not provide smtp.
I try to send verification emails after user's register in laravel 4 , and the user is saved on the database but the email is not send , the file email.php is configured !
Some tells me that there is a problem in Windows 7 ( smtp is not include on Windows 7 ) What do u think ??
You must configure a valid smtp server in app/config/mail.php and make sure the pretend key is false. ('pretend' => true will only log emails, not sending them)
Windows 7 has no smtp server included. Check this answer to fix that.
I used SMTP protocol for sending email in my system.The system is developed with Codeigniter.in the system two types of email sending functionality, one is from codeigniter Email libraries and other is from swift mailer.In codeigniter it is working but in swift mailer an authentication failure message is shown.
Both functions use same login details.The port used is 25.
Give a try with this gmail smtp
$transport = Swift_SmtpTransport::newInstance('smtp.gmail.com', 465, 'ssl')
->setUsername('YOUR_GMAIL_ID')
->setPassword('YOUR_GMAIL_PASSWORD') ;
If it works with this than I think your hosting provider not giving smtp service to you so, you need to contact your hosting provider.
I have a fresh Joomla 1.7 install.
I have a valid, confirmed, working google apps email that I can log into via the web client.
I have pop and imap enabled.
Configuration within Joomla Global Configuration Tab in the Mail Settings section is as follows:
Mailer: SMTP
From Email: [-me-]#decherney.com
From Name: Test Site Email
Sendmail Path: /usr/sbin/sendmail
SMTP Authentication: Yes
SMTP Security: SSL
SMTP Port: 465
SMTP Username: [-me-]#dechereny.com
SMTP Password: [-password-]
SMTP Host: smtp.gmail.com
Anytime the site tries to send email whether for registration, mail, or other notification services it reports the following:
SMTP Error! Could not connect to SMTP host.
I have tried using port 587, using phpmail with the smtp host as ssl:smtp.gmail.com:465, and pretty much every other solution proposed on the net.
If anyone has a suggestion/answer I would be much appreciative.
turns out all I had to do was add the following line to the php.ini file
extension=php_openssl.dll
(or uncomment it)
Try setting the SendMail Path to : smtp.gmail.com
Everything else looks good.