Open Meekohi opened 10 years ago
@Meekohi I'm curious if you see the same error if you change Mailer.mail_from_address = "Arqball Spin noreply@arqspin.com" to Mailer.mail_from_address = "noreply@arqspin.com" Also the "From" address usually needs to be "verified" by AWS SES. A verification email with a verification link would need to sent to noreply@arqspin.com before setting it as the "From" email while using SES.
I think the value of Mailer.mail_from_address
would need to be changed to "Arqball Spin <noreply@arqspin.com>"
to get this to work, due to the RFC on the headers.
@ajlanghorn I don't see the difference from the original code?
@Meekohi Sorry, you're right - I'm being daft.
The safest way to deal with this issue is tightly wrap your code according to RFCs; i.e. your from
address should always look like "\"#{from_name}\" <#{from_email}>"
.
This is probably an error in my usage, but I can't figure it out.
I know that the from address is static and works sometimes, so I cannot understand how to debug the following, which seems to be a problem with the Sender field? Is there any way to print the entire request sent to SES for debugging?