简体   繁体   中英

Dropzone - Using file upload to attach images for phpmailer

I'm trying to create a form in which the user can add (Upload) some images. After "Submit" the form should send an Email with attached files (image/images)

I'm using phpmailer for my form.

My Question: Is it possible to send the images as attachments without storing them on the Server, and send directly in Email with the attached files - I don't want to store user Documents on Server.

Thank You

The documents will have to be stored temporarly on the server if you plan on supporting sequential uploads. You could on the other side add javascript so that a user uploads all images at once and then your backend sends them via mail.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM