简体   繁体   中英

How can i attached multiple documents in javascript mailto?

We need to attached multiple document in mail to in by using JavaScript or j query.

We need to attached my document path must be live URI Like: http://www.axmag.com/download/pdfurl-guide.pdf

My Code is Like: HTML:

<a onclick="sendmaildocument();">Mail</a>

JavaScript:

function sendmaildocument()
{   
   document.location = "mailto:user@example.com?attach="+"http://www.axmag.com/download/pdfurl-guide.pdf";
} 

Please help me..!

No, you can not add an attachment to a message with the mailto: URL scheme. mailto: only supports header values or text/plain content. See RFC 2368 for details.

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