简体   繁体   中英

Attach a file with that mail function. Is that possible?

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?

PHPMailer github

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.

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