Open rsmolkin opened 6 years ago
No it doesn't. As a matter of face it does not use SendRawEmail
it uses sendEmail
@rsmolkin Just out of curiosity why are you using sendRawEmail
over sendEmail
?
Thanks. We need to add attachments to the emails. So I guess we either need to manually make sure that the messages are rfc2822 compliant or find a library that does that...
Hi,
We've stumbled on your code while looking to a solution where some emails we were sending using Amazon SES SendRawEmail were bouncing with error codes 500, 501 and a few others due to lines being too long. It appears that subjects that are longer than 76 characters need to be split into multiple line with everything after the 1st line starting with a space and all lines ending with a CRLF.
Similar issue with HTML emails where it seems all HTML is treated as one line and also needs to be split up with CRLF.
Does your SES Template Mailer handle that?