When using SMTP to connect to Amazon SES, I am repeatedly getting the following error
SMTP -> FROM SERVER:554 Message rejected: Email address is not verified.
SMTP -> ERROR: DATA not accepted from server: 554 Message rejected: Email address is not verified.
While it says this, I know that I have already verified the email address I am using and when I do a var_dump of the object in the SmtpSend function in smtp.phpmailer.inc, the parameter is passed through correctly.
Integration with Amazon SES is in increasing demand and for this module to not be able to connect can cause serious problems down the road
Comments
Comment #1
Konstantin Boyandin commentedNote that this may be not the fault of SMTP module.
I have encountered this problem when trying to use site contact form.
Drupal sets 'From' field to the value user inserts. Thus, Amazon SES receives From: address that can be irrelevant to the site altogether and thus the message is denied.
The solution is to stop Contact module from plainly inserting From field provided by the user and use sitewise address instead (the one that can be verified).
Comment #2
graper commentedI believe I have gotten past the email verification, but then I'm attempting to send a message from a custom module that includes an attachment. The message I am getting is "Transaction failed: Missing start boundary" So far all my google searches have turned up nothing on this message in combination with drupal 7 and amazon ses.
It would be very nice to here from the dev on this.
Comment #3
graper commentedMy problem got fixed and a new bug report was added at http://drupal.org/node/1659148
Comment #4
darshanchoudhary commentedI have tried all options that are listed above but still i am not able to send mails.!!
It shows me this error
SMTP Error: Data not accepted.
Can you please help me out!
Comment #5
spring.oracle commentedMarking as duplicate of #1456422: Problem with emails from different domain as the mail server with the contact module
Comment #6
rodmaz commentedWe are using this module w/ Amazon SES and it is working correctly. Please make sure you verify your domain and emails on SES.
Comment #7
wundo commentedComment #8
gaurav@mapmytalent.in commentedI have done email verification from amazon but till now i am not able to send mail.
error is this
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "220 email-smtp.amazonaws.com ESMTP SimpleEmailService-1035614911 yIcqnK8zCwlGYVQArqfY "
SMTP -> get_lines(): $data is "220 email-smtp.amazonaws.com ESMTP SimpleEmailService-1035614911 yIcqnK8zCwlGYVQArqfY "
SMTP -> FROM SERVER:220 email-smtp.amazonaws.com ESMTP SimpleEmailService-1035614911 yIcqnK8zCwlGYVQArqfY
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250-email-smtp.amazonaws.com "
SMTP -> get_lines(): $data is "250-email-smtp.amazonaws.com "
SMTP -> get_lines(): $data was "250-email-smtp.amazonaws.com "
SMTP -> get_lines(): $str is "250-8BITMIME "
SMTP -> get_lines(): $data is "250-email-smtp.amazonaws.com 250-8BITMIME "
SMTP -> get_lines(): $data was "250-email-smtp.amazonaws.com 250-8BITMIME "
SMTP -> get_lines(): $str is "250-SIZE 10485760 "
SMTP -> get_lines(): $data is "250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 "
SMTP -> get_lines(): $data was "250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 "
SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN "
SMTP -> get_lines(): $data is "250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-AUTH PLAIN LOGIN "
SMTP -> get_lines(): $data was "250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-AUTH PLAIN LOGIN "
SMTP -> get_lines(): $str is "250 Ok "
SMTP -> get_lines(): $data is "250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-AUTH PLAIN LOGIN 250 Ok "
SMTP -> FROM SERVER: 250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-AUTH PLAIN LOGIN 250 Ok
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6 "
SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6 "
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6 "
SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6 "
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "235 Authentication successful. "
SMTP -> get_lines(): $data is "235 Authentication successful. "
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 Ok "
SMTP -> get_lines(): $data is "250 Ok "
SMTP -> FROM SERVER:250 Ok
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 Ok "
SMTP -> get_lines(): $data is "250 Ok "
SMTP -> FROM SERVER:250 Ok
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "354 End data with . "
SMTP -> get_lines(): $data is "354 End data with . "
SMTP -> FROM SERVER:354 End data with .
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "554 Message rejected: Email address is not verified. "
SMTP -> get_lines(): $data is "554 Message rejected: Email address is not verified. "
SMTP -> FROM SERVER:554 Message rejected: Email address is not verified.
SMTP -> ERROR: DATA not accepted from server: 554 Message rejected: Email address is not verified.
SMTP Error: Data not accepted. Skip to main content
Options for the administrative overlayIf you have problems accessing administrative pages on this site, disable the overlay on your profile page.Dismiss this message.
Comment #9
Anonymous (not verified) commentedGot here using Google so I though I'd add a useful closing message here.
That "Email address is not verified" error has nothing to do with this module, it's because you are running your domain in non-production mode and you have not verified the email address you are sending TO (so net your sender address). In non-production mode you have to verify each address you are sending to, in production mode this restriction is gone.