Using XAMPP on Mac
I have installed https://www.drupal.org/project/smtp
After setting up admin/config/system/smtp
It gives above error. Unable to send test email.
Do we have to any setting on gmail or i'm missing anything?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
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.
I got this same error on 8.7.1 and smtp 8.x-1.0-beta4 version.
Followed the steps provided in the below link will solve the issue.
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,