We no longer recommend Gmail, for all the reasons listed
below and more! Try a professional shipping provider instead.
In June 2016, Gmail will change its DMARC policy from p =
"none" to p = "reject." This means that any message sent
using gmail.com at the FROM address must originate from the Gmail
infrastructure. Therefore, if you are not sending with Gmail, you cannot use a
Gmail address in a FROM header in your newsletters.
There
are two main reasons why sending with Gmail will not work.
1. Google’s security system has blocked your server’s IP
2. Your host is blocking some outbound ports
1.
Google’s security system has blocked your server’s IP
Google's security system is really great, if someone has
their Gmail password in their hands, well, they won't be able to do much unless
they are using their IP address. Why? Because when Google detects an unusual IP
address that tries to connect to your account, it will deny you access and send
you an email and, finally, a text message on your mobile phone.
When you send a test email from the MailPoet Configuration
and receive the following message: "SMTP Error: Could not authenticate. |
SMTP Error: Could not connect to SMTP host". then I could be entering this
case
The email you will receive to notify you about that unusual
access will be the following:
Allow new IPs in Google account
In your case, when you configure your site to send with your
Gmail account, you want to allow a new IP to use Gmail credentials. To allow a
new unrecognized application, simply go to
https://security.google.com/settings/security/activity, find the line that
concerns you and allow access.
2. Your
host is blocking some outbound ports
If you are trying to send from Gmail and it does not work, you
can be sure that your problem is common. Especially if it is hosted on a shared
server (hosting plans that cost a few dollars a month).
To verify, go to MailPoet Settings> Shipping Method and
try to send a test with this button:
Check if you get this error that shows "Connection
rejected", like this:
This means that your host is definitely blocking the port
needed to connect to the Gmail SMTP service.
If the port is blocked, what can I do?
You must change the shipping method. Try sending a test
email with the "Your own website" shipping method.
The limit of emails that you can send from a shared hosting
plan varies. See our list of limits.
Alternatively, we recommend obtaining a professional
shipping provider. They are cheap for small senders, require some
configuration, but offer the best delivery capacity. Read more about SMTP
providers.