How can I attach multiple documents in javascript mailto?

We need to link multiple documents by mail using JavaScript or j-request.

We need to attach our path to the document, there must be a live URI. For example: 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..!

+3


source to share


1 answer


No, you cannot add an attachment to a message using the mailto: URL scheme. mailto: only supports header values ​​or text / normal content. See RFC 2368 for details.



+3


source







All Articles