Send Attachments by Amazon SES (SendEmail Function)

1

Hello,

I'm using a library ( link ) from Amzon to send email on a system I work on, but I stopped in a problem:

I'm using the SESClient class and its SendEmail function.

I could not find anything about how to send attachments, and I need to send them.

I searched the Amazon documentation and found no answers.

If someone can help me, I appreciate it.

Regards, Renan.

    
asked by anonymous 12.02.2016 / 13:31

1 answer

0

You have two options:

  • Use an SMTP mail sending library and point it to your SES
  • Create a low-level email (raw), encoding the entire format of manually adding a file (the whole process of encoding the file into base64, splitting it into blocks, etc.). I found someone who already did this and may be a starting point for you.
  • I would sincerely try option 1 first.

        
    12.02.2016 / 20:50