Folks, I'm back to the most favourite place on the web, the DP Forums. And this time with one more question. I have a webpage where I am using Javascript/jQuery. From the callback function of a $.ajax() call I need to open a Email compose window, with pre-populated "Email-To" address, "Subject", "Body" and "Attachment". I have chosen following way: window.location = "mailto:someone@djfweuyyr.com?subject=Subject_here&body=Body_here&attach=c:\file\temp.pdf"; Code (markup): I should mention that the path to the attachment file path is constant in my case, i.e. c:\file\temp.pdf and I'm trying to get a Really-Working solution for Internet Explorer 7+ and MS Outlook 2010. I have spent atleast 5 hrs on the net to approach the conclusion that MS Outlook 2010 doesn't support 'attach', 'attachment' or anything similar in mailto urls. Atleast I never got any of the 'should be working' solutions work in Outlook 2010. Please help me to get this done. I believe, this won't be a hard one for someone who have done this before. What I think could be: 1. Any free IE Addon to open a compose window with attachment. 2. A Java applet to do the same. 3. Or may be some Windows specific (that fits IE 7+ and Outlook 2010) javascript tricks that actually works. Need your help guys. And many thanks, all in advance for spending your precious time.
A quick and dirty solution would be to add a hyper link to the body of the email? I don't have experience with your problem so can't help directly, sorry.
Hi, Thanks for replying. The file which is going to get attached, will be downloaded from a private IP. But the mail can be sent to any public domain. Which means, a download link in the mail body is not a solution for my case. Because the download URL is hosted on a private network where the mail sender have access to, but the mail recipient doesn't.