Using XAMPP on Mac

I have installed https://www.drupal.org/project/smtp

After setting up admin/config/system/smtp

enter image description here

It gives above error. Unable to send test email.

Do we have to any setting on gmail or i'm missing anything?

You probably have to be auth to be able to send mail from gmail's SMTP (smtp user/ smtp password). Moreover, you have to "allow" the sender's email in your google account.

theMailYouSendFrom@whatever.com have to be allowed to send mail with account yourAccount@gmail.com; somewhere in gmail's parameters, you can validate this mail.

I remember there is a limit, 450 mails/day for each google account (this could have change now, that was 3 or 4 years ago), and more with payed gapps.

You can try with Swift Mailer module . Its work for me. https://www.drupal.org/project/swiftmailer

You can try send email with sendgrid smtp, can smtp gmail had block ip your server,

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.