Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Turn your gmail account Less secure app access ON.
Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Turn your gmail account Less secure app access ON.
I had to install WP-Mail-Bank in one of my WordPress pages/blogs/store, so it can send emails to *people* 🙂
I was getting “SMTP Error: Could not authenticate” on the test email tab.
I had to went to https://accounts.google.com/b/0/DisplayUnlockCaptcha and continue with this request. This gives us a 10min window to connect to Google in an *unsecure* way. Google detects the connection and allow it for the future.
Reference: http://stackoverflow.com/questions/3949824/smtp-error-could-not-authenticate-in-phpmailer
To send emails using Gmail:
SMTP Host: smtp.gmail.com
SMTP Port: 587
SSL Protocol: OFF
TLS Protocol: ON
SMTP Username: (your Gmail username – email -)
SMTP Password: (your Gmail password)
To receive mail from Gmail
POP3 Host: pop.gmail.com
POP3 Port: 995
TLS Protocol: ON
POP3 Username: (your Gmail username – email -)
POP3 Password: (your Gmail password)
Using an address alias
Gmail doesn’t offer traditional aliases, but you can receive messages sent to [email protected]. For example, messages sent to [email protected] are delivered to [email protected].You can set up filters to automatically direct these messages to Trash, apply a label or star, skip the inbox, or forward to another email account.As seen on https://support.google.com/mail/answer/12096?hl=en