문제

I have started to use Amazon SES service for sending all my project e-mails. Currently I have converted all my code to use it. But still lacking on examples for implementing e-mails with attachment as MIME types and HEADERS are not my strong side.

Could someone share some wisdom on how exactly I can get SendRawEmail to work? What 3rd-party libraries I should be using to create legit e-mail with attachments?

I use latest aws-ses-sdk for php.

도움이 되었습니까?

해결책

Thanks to suggestions from hakre i found this swift mailer transport https://github.com/jmhobbs/Swiftmailer-Transport--AWS-SES and now i use swift mailer to handle all my e-mails with attachment and without directly to SES.

다른 팁

This is very similar to this other post here: Sending email with attachment using amazon SES

Rather than posting the answer again here, please see that post for the implementation that worked for me.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top