0

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?!

enedebe
  • 1,006
  • 3
  • 11
  • 17

1 Answers1

1

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.

Logic Wreck
  • 1,428
  • 9
  • 8
  • Thanks but I don't have postfix in this servers, junt Apache. But thanks for all! – enedebe Sep 13 '12 at 14:27
  • We do the same via an exim server on a virtual machine. In any cases latest (still beta) version of phplist includes direct SES support – luison Dec 07 '12 at 16:05