Grab an AWS image and attach it to the email?

Asked

Viewed 51 times

0

Is it possible to 'uple' an image in aws, and then attach it to an email? I thought of two things: If there is a way to recover the file directly from aws server ( as if it were my pc, for example, where I look for the image and attachment),

or with the system already online, download this image dynamically, save to the project, attach to the email, then delete.

You can do that?

  • As far as I know the AWS-S3 you can download this img yes passing her link, but for this the file has q be with public access. vc can try to attach img to Base64, but it is not all mail servers that allow to use Base64, it is better to attach by link ^^

  • How can I do that? (the attachment is for gmail)

  • When you upload the file use the access link to it, remember if the access to the file has to be public, and use as if it were an img any "link" to an email by URL. , to download the img of a look at the AWS S3 documentation, is quite complete a bit messy, but complete

  • Yes, it’s relatively simple. Put your code that we help.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.