Question
Send email using gmail smtp
I’ve followed the tutorial here : https://cloudsupport.digitalocean.com/s/
I’ve tried using port 465 however I had an error so as I use tls I have changed the port to 587, I think 587 is for tls?
I’m getting the following error:
Failed to send AUTH LOGIN command. Error: 530 5.7.0 Must issue a STARTTLS command first. a7sm12831008wra.43 - gsmtp
I’m trying to send email from Expressionengine, I have the following email settings:
$config['email_newline'] = "\r\n";
$config['email_crlf'] = "\r\n";
$config['smtp_crypto'] = 'tls';
Inbound Rules
Custom TCP 25 All IPv4 All IPv6 More
HTTP TCP 80 All IPv4 All IPv6 More
HTTPS TCP 443 All IPv4 All IPv6 More
Custom TCP 587 All IPv4 All IPv6 More
Outbound Rules
ICMP ICMP All IPv4 All IPv6 More
All TCP TCP All ports All IPv4 All IPv6 More
Custom TCP 587 All IPv4 All IPv6 More
All UDP UDP All ports All IPv4 All IPv6 More
Any ideas?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×