Mautic Community Forums

Issue with Amazon Ses

I’ve set up Mautic and an initial campaign. The first test I tried was sending emails via Gmail and everything worked fine.



I’m now signed up for Amazon SES and added the credential accordingly. The ‘Test Connection’ is successful however, when I click on ‘Send test Email’ I get the following error:



Expected response code 250 but got code “554”, with message "554 Message rejected: Email address is not verified. " Log data: ++ Starting MauticEmailBundleSwiftmailerTransportAmazonTransport

<< 220 email-smtp.amazonaws.com ESMTP SimpleEmailService-1207641145 jpMgFpqIQsHPaxFlp7WI

EHLO my-mautic-install.com

<< 250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-STARTTLS 250-AUTH PLAIN LOGIN 250 Ok

STARTTLS

<< 220 Ready to start TLS

EHLO my-mautic-install.com

<< 250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-STARTTLS 250-AUTH PLAIN LOGIN 250 Ok

AUTH LOGIN

…[credentials snipped]…

<< 235 Authentication successful. ++ MauticEmailBundleSwiftmailerTransportAmazonTransport started

MAIL FROM:

<< 250 Ok

RCPT TO:

<< 250 Ok

DATA

<< 354 End data with .

.

<< 554 Message rejected: Email address is not verified. !! Expected response code 250 but got code “554”, with message "554 Message rejected: Email address is not verified. " 11:47:29 AM

++ Starting MauticEmailBundleSwiftmailerTransportAmazonTransport

<< 220 email-smtp.amazonaws.com ESMTP SimpleEmailService-1207641145 jpMgFpqIQsHPaxFlp7WI

EHLO my-mautic-install.com

<< 250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-STARTTLS 250-AUTH PLAIN LOGIN 250 Ok

STARTTLS

<< 220 Ready to start TLS

EHLO my-mautic-install.com

<< 250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-STARTTLS 250-AUTH PLAIN LOGIN 250 Ok

AUTH LOGIN

…[credentials snipped]…

<< 235 Authentication successful. ++ MauticEmailBundleSwiftmailerTransportAmazonTransport started

MAIL FROM:

<< 250 Ok

RCPT TO:

<< 250 Ok

DATA

<< 354 End data with .

.

<< 554 Message rejected: Email address is not verified. !! Expected response code 250 but got code “554”, with message "554 Message rejected: Email address is not verified. "



The email address has been verified in Amazon SES and I’ve tested it on another program successfully.



Am I missing something in Mautic? Any help would be appreciated thanks.



Regards



Andrew

I’ve set up Mautic and an initial campaign. The first test I tried was sending emails via Gmail and everything worked fine.

I’m now signed up for Amazon SES and added the credential accordingly. The ‘Test Connection’ is successful however, when I click on ‘Send test Email’ I get the following error:

Expected response code 250 but got code “554”, with message "554 Message rejected: Email address is not verified. " Log data: ++ Starting MauticEmailBundleSwiftmailerTransportAmazonTransport
<< 220 email-smtp.amazonaws.com ESMTP SimpleEmailService-1207641145 jpMgFpqIQsHPaxFlp7WI

EHLO my-mautic-install.com
<< 250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-STARTTLS 250-AUTH PLAIN LOGIN 250 Ok

STARTTLS
<< 220 Ready to start TLS

EHLO my-mautic-install.com
<< 250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-STARTTLS 250-AUTH PLAIN LOGIN 250 Ok

AUTH LOGIN
…[credentials snipped]…
<< 235 Authentication successful. ++ MauticEmailBundleSwiftmailerTransportAmazonTransport started

MAIL FROM:
<< 250 Ok

RCPT TO:
<< 250 Ok

DATA
<< 354 End data with .

.
<< 554 Message rejected: Email address is not verified. !! Expected response code 250 but got code “554”, with message "554 Message rejected: Email address is not verified. " 11:47:29 AM
++ Starting MauticEmailBundleSwiftmailerTransportAmazonTransport
<< 220 email-smtp.amazonaws.com ESMTP SimpleEmailService-1207641145 jpMgFpqIQsHPaxFlp7WI

EHLO my-mautic-install.com
<< 250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-STARTTLS 250-AUTH PLAIN LOGIN 250 Ok

STARTTLS
<< 220 Ready to start TLS

EHLO my-mautic-install.com
<< 250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-STARTTLS 250-AUTH PLAIN LOGIN 250 Ok

AUTH LOGIN
…[credentials snipped]…
<< 235 Authentication successful. ++ MauticEmailBundleSwiftmailerTransportAmazonTransport started

MAIL FROM:
<< 250 Ok

RCPT TO:
<< 250 Ok

DATA
<< 354 End data with .

.
<< 554 Message rejected: Email address is not verified. !! Expected response code 250 but got code “554”, with message "554 Message rejected: Email address is not verified. "

The email address has been verified in Amazon SES and I’ve tested it on another program successfully.

Am I missing something in Mautic? Any help would be appreciated thanks.

Regards

Andrew

My guess is that the error message is not problem in Mautic, but the service you are connecting to. Double-check the configuration if there is no typo or for example a space before or after in some config field. Port numbers causes problems often.

Ok so everything seems to be working correctly now.

I initially was using the ‘Amazon SES’ option under ‘Service to send mail through’, this continued to give me the above error and I tripled check all the details as suggested, with no luck.

I decided to switch to the ‘Other SMTP Server’ option instead and added the Amazon SES SMTP details in manually. This worked however I found that only port 587 could be used, although Amazon says it can use 25, 465 or 587.

Hope this helps anyone else facing the same issue.

Hi

I had the same Problem. My solution was to add the SES-SMTP Server manually within Mautic. Mautic tries to send over Amazon’s US Server and you can not change it. Amazon’s verfications are linked to a specific location (ex. email-smtp.eu-west-1.amazonaws.com for Ireland) and therefore Mautics SES Settings will not work for European or Asian Customers.

Hope that helps. Cheers, Christoph

Thanks guys!
My comment is. I could find this Forum post by Google. The “Search conversations” box did not find.

For info you might also need to request to be moved out of Sandbox if you’ve got a new SES account: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/request-production-access.html.

I was experiencing the same issue and this was resolved by disabling SMTP Restrictions in my server environment as per the attached image.

I was able to use “Amazon SES” as my option in “Service to send Email through”.

how to solve Expected response code 250 but got code “554”, with message "554 Message rejected: Email address is not verified.

i can not verify every single subscriber by amazon ses
please help me

Failed to send to davidfoad51@gmail.com: Expected response code 250 but got code “554”, with message "554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-1: davidfoad51@gmail.com " Log data: ++ Starting Swift_Transport_EsmtpTransport << 220 http://email-smtp.amazonaws.com ESMTP SimpleEmailService-1737464811 m43tq3hbH78vqMNqaQwe >> EHLO monsterz.in << http://250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-STARTTLS 250-AUTH PLAIN LOGIN 250 Ok >> STARTTLS << 220 Ready to start TLS >> EHLO monsterz.in << http://250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-STARTTLS 250-AUTH PLAIN LOGIN 250 Ok >> AUTH LOGIN << 334 VXNlcm5hbWU6 >> QUtJQUpJRkZGQ0o1RkxJMlc3VFE= << 334 UGFzc3dvcmQ6 >> QXN4ZGczcm9UYjJKNXVLdW96WTRhQXJ2ZjdwZ1h5YjQ2Y2REN3A0cm5teTg= << 235 Authentication successful. ++ Swift_Transport_EsmtpTransport started >> MAIL FROM: << 250 Ok >> RCPT TO: << 250 Ok >> DATA << 354 End data with . >> . << 554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-1: davidfoad51@gmail.com !! Expected response code 250 but got code “554”, with message "554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-1: davidfoad51@gmail.com " (code: 554)

Devbrat Sharma
please check the error

@ easy fix that email davidfoad51@gmail.com have not been verified in you Amazon SES

why i go to verify my subscriber email i cannot verify there email i am verified sender email id

because you Amazon SES is in SANDBOX MODE