Page 1 of 1

SMTP Configuration AMAZON SES

Posted: 15 Dec 2014, 18:26
by sand
Hi,

I installed opencats on an ubuntu 14.4 (Amazon EC2) and configured SES.
In the smtp settings for SES I get info for username, password, port and hostname:

Server Name:
email-smtp.eu-west-1.amazonaws.com
Port: 25, 465 or 587
Use Transport Layer Security (TLS): Yes

No matter which port I choose, sending of emails fails:
error.log:
PHP Notice: fputs(): send of 24 bytes failed with errno=32 Broken pipe in /var/www/html/opencats/lib/phpmailer/class.smtp.php on line 184, referer: ...

In the email-settings page I try to send a test-email and get the following error:
Errors occurred while attempting to send mail to one or more provided addresses: xxx@xxx.xx (): The following From address failed: ...

Has anbody experiences in setting up OpenCats with AMAZON SES?

Re: SMTP Configuration AMAZON SES

Posted: 15 Dec 2014, 21:23
by RussH
Hi sand,

i fyou check the code of that file here;

https://github.com/opencats/OpenCATS/bl ... s.smtp.php

you can see that error is related to testing the smtp server capabilities - I don't believe TLS is supported.

you may want to try reverting back to the 'genuine' php mailer class;

https://github.com/PHPMailer/PHPMailer/ ... s.smtp.php

Re: SMTP Configuration AMAZON SES

Posted: 14 Apr 2015, 19:33
by scott1981
RussH wrote:Hi sand,

i fyou check the code of that file here;

https://github.com/opencats/OpenCATS/bl ... s.smtp.php

you can see that error is related to testing the smtp server capabilities - I don't believe TLS is supported.

you may want to try reverting back to the 'genuine' php mailer class;

https://github.com/PHPMailer/PHPMailer/ ... s.smtp.php

How can I revert back to it?