This module manages both the sending of the mails with Amazon SES as well bounce returns by Amazon SNS.
Extension is still in beta so feedback on it is welcome. We have running it at this moment in about 10 installations without known issues at the moment.
Can you share me the steps to do it? Still I am stuck. plugin is not being installed. Please provide a guide how to do this . Should I try with root user or the user I am using in the cpanel.
Hi, thank you for your plugin. I´m receiving the following error in Mautic Logs:
mautic.WARNING: PHP Warning - is_readable(): open_basedir restriction in effect. File(/home/manehu/.aws/config) is not within the allowed path(s): (/home/manehu/.composer:/home/manehu/web/mautic.ctrlt.es/public_html:/home/manehu/web/mautic.ctrlt.es/private:/home/manehu/web/mautic.ctrlt.es/public_shtml:/home/manehu/tmp:/tmu/tmp:/tmp:/var/www/html:/bin:/usr/bin:/usr/local/bin:/usr/share:/opt) - in file /home/manehu/web/mautic.ctrlt.es/public_html/vendor/aws/aws-sdk-php/src/DefaultsMode/ConfigurationProvider.php - at line 152 {“hostname”:“hestia.ctrlt.es”,“pid”:358391}
Nevertheless, the SNS for a bounce e-mail creates this entry in Mautic log → mautic.WARNING: PHP Warning - Undefined array key “Type” - in file …/plugins/AmazonSesBundle/EventSubscriber/CallbackSubscriber.php - at line 236
Please check if you have the code below in the file:
eventSubscriber/CallbackSubscriber.php
somewhere arround
line2 34
$this->logger->warning(
'SES webhook payload, not processed due to unknown type.',
['Type' => $payload['Type'], 'payload' => json_encode($payload)]
);
change this to:
$this->logger->warning(
'SES webhook payload, not processed due to unknown type.',
['Type' => '', 'payload' => json_encode($payload)]
);
After change this somewhere in your Mautic log files in
var/log
must be the following content: SES webhook payload, not processed due to unknown type please copy over the content of the log arround that. Then hopefully we can see what is going wrong with the payload from SNS.
Thank you for your plugin, I followed all your instructions but when I try to test email I receive the followin error: Unable to send an email: There are 1 partial failures, check logs for exception reasons .
I checked the var/logs files and the directory is empty.
If everything is working properly when u mail to bounce@simulator.amazonses.com i think the issue is maybe not on the module. Is the amazon account in production mode already ? If not maybe that is the reason why u gat an error.
What u also could try is setup SNS notification logs then u can see the payload which amazon sends.
U may also PB me with Amazon + mautic details, then i can do a quick view to see if i can see anything wrong.