I am using mailto function within anchor tag. I can write subject, cc bcc, body things with that. But I want to attach a file with that mail function. Is that possible?
using this library you can add attachments using mailto
.have a look..this might help you
You cannot attach files in the mailto:
protocol, and it would be a gaping security hole if it were possible.
You can use php mail function to send mail with attachment.
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.