Sending Failed- AWS API SES( Using Queue and not "Send Immediately" ) in Mautic 3.1

Your software
My Mautic version is: 3.1.0
My PHP version is: 7.2

Your problem
My problem is:
I tried to send an email using AWS SES API with Queue option and got below error:

These errors are showing in the log:
In AmazonApiTransport.php line 195:
Attempted to call an undefined method named “getAttachments” of class “Swift_Message”

Then i tried with Send Immediately option and it is working fine.

Try this

  • Clear Cache
  • Reset your www permissions

Can you show more of what you see in the logs.

  • Mautic log
  • Apache error.log

Hi,

I tired the cache clear and access, and still the issue is not resolved.

In Mautic log it shows:

In AmazonApiTransport.php line 195:
Attempted to call an undefined method named “getAttachments” of class “Swift_Message”

Also this issue has been created as a PR.

Thanks