I have a contact form on my wordpress website which logs in with a gmail account and it forwards emails from the visitors to the main inbox
The SMTP debugging output is shown below:
2015-11-13 10:53:51 Connection: opening to ssl://smtp.gmail.com:587, timeout=300, options=array (
2015-11-13 10:53:51 SMTP ERROR: Failed to connect to server: (0)
Does anyone have a solution since this is a company website which needs to receive emails from customers.
Beste antwoord door Tim
It is definitely an authorisation issue!
2015-11-13 15:23:06 SMTP Error: Could not authenticate.
There have been some changes at Google's side. Perhaps you can try this:
Head over to Account Security Settings (https://www.google.com/settings/security/lesssecureapps) and enable "Access for less secure apps", this allows you to use the google smtp for clients other than the official ones.