I'm trying to make this run, but I'm getting really crazy. I want to run PHPList with Amazon SES. I've followed this instructions LINK But I get this error:
SMTP -> ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)
SMTP Error: Could not connect to SMTP host.
I can't understand why I get this SMTP error when if I just use SES integration it just have to use cURL. Is there a bug?! or I have to modify something of the code to don't try to connect server.
Of course I tried to define PHPMAILERHOST as amazon smtp host but it fails because it didn't use TLS.
I tried to use PHPMailer with integration with Amazon SES, but non of them work.
Any ideas?!
There is a workaround here. The workaround is to use postfix that uses SES as relay to send out emails like described in: http://www.millcreeksys.com/how-to-configure-your-postfix-server-to-relay-email-through-amazon-simple-email-service-ses/
After you do this you can use the mail() command to send emails using your localhost MTA which will relay them further through SES.