Reputation: 98
I use the following code to send mail using Outlook:
<a href="mailto:[email protected]?Subject=Hello%20test&body=Testing&attach=/Users/administrator/Desktop/test.txt">
Send Mail</a>
The problem is that I can't attach a file in Outlook. I have tried with 'Attachment' parameter but the same issue occurs. Can it be done or is there an alternative?
Upvotes: 2
Views: 3244
Reputation: 1095
This is not allowed. Mind the risk of attaching a local file just by clicking a link, an attacker may get sent any sensitive file on your disk!
Upvotes: 1