81
General Help & How-To / Re: SMTP with Amazon SES Problem
« Last post by franklinfick on June 11, 2016, 05:09:49 pm »i am revisiting this topic-- as I am trying again after some years to get SES to work with my listmailpro instalation
i switched hosts
and tested the code that was provided earlier
Code: [Select]
<?phperror_reporting(E_ALL);$sock=fsockopen('tls://email-smtp.us-east-1.amazonaws.com',465);if($sock) echo "Socket established\n"; else exit("Socket could not be established\n");echo fgets($sock,1024);echo "> EHLO localhost\n";fputs($sock,"EHLO localhost\r\n");$line='';while(substr($line,3,1)!==' '){ $line=fgets($sock,1024); echo $line;}
this is working and not giving me any error messages..
================================
I set up my domain and emails in Amazon SES
and got my smtp credentials
--- i tested these credentials in thunderbird--
and i have no problem signing into the amazon ses server and sending email
putting the smtp credentials into listmailpro configuration screen:
testing the mail connection gives:
Testing mail servers..
[Bounce Handling]
Is enabled? No (you should probably configure it)
[SMTP Server]
Is enabled? Yes
Connecting to SMTP server.. Connected!
Could not say EHLO.
The SMTP server is not configured correctly. Check your settings.
============================
trying to send a mass email
(to a test list and only one test subscriber)
I get a failed error message that smtp was not set up correctly
log file shows:
> EHLO localhost
=================================
I get the same error message when testing mail settings and sending a test email to a list
when AUTH? is checked and when it is not checked...
Is there something simple that I am missing?
Franklin