Page 2 of 2

Re: [2.1] Configure Email for Amazon SES

PostPosted: 07.05.2015, 04:28
by some person
I think the problem is with the autoloader.

PHPMailer is calling for 'SMTP' class and autoloader is trying to load class.SMTP.php, but the actual filename is class.smtp.php.

Rename the class.smtp.php file to class.SMTP.php and see if that fixes your problem

Re: [2.1] Configure Email for Amazon SES

PostPosted: 07.05.2015, 16:37
by abarker
That was the final piece to the puzzle! Thanks for your help!

For anyone checking into this, the necessary fix involves:

  1. Upgrade class.PHPMailer.php and class.SMTP.php to latest (make sure not to mess up the capitalization as I did). Link for the repository: https://github.com/PHPMailer/PHPMailer
  2. Make sure to use a port other than 25. If the AWS region you are using requires port 25, you may be out of luck.
  3. Save your SES credentials in Collabtive in plaintext, not base64 encrypted.

In the end, your settings should look something like:

email.png
email.png (24.17 KiB) Viewed 6906 times

Re: [2.1] Configure Email for Amazon SES - RESOLVED

PostPosted: 07.05.2015, 21:18
by Eva
Glad to hear that you found a solution and can use the notifications now! :)
...and thx for providing the explanation.

Re: [2.1] Configure Email for Amazon SES

PostPosted: 08.05.2015, 10:23
by some person
abarker wrote:
  1. Upgrade class.PHPMailer.php and class.SMTP.php to latest (make sure not to mess up the capitalization as I did). Link for the repository: https://github.com/PHPMailer/PHPMailer

This actually was not your fault. In collabtive, by default, this file is not named correctly.

It is quite possible that other people using collabtive will also run into this problem.

I did not notice this problem at first as I was testing this on a Windows system, and Windows is not case sensitive when it comes to file and directory names.