extrovertive Posted October 10, 2011 Share Posted October 10, 2011 Not sure if this relates more to PHP or Javascript/jQuery, but is there a way to attach a file to an email client (i.e Outlook), when user click on a link/button? I have a link that generates a PDF and I want it so that, when someone click on a link, it will open up their email client with the PDF already attached, and subject already fill in. I know, you can use <a href="mailto:..." but that only opens up the mail client. I also need to attach a file with a subject fill in. Is this doable with PHP or Javascript? Quote Link to comment https://forums.phpfreaks.com/topic/248775-link-to-open-email-client-and-attach-file/ Share on other sites More sharing options...
trq Posted October 10, 2011 Share Posted October 10, 2011 I have a link that generates a PDF and I want it so that, when someone click on a link, it will open up their email client with the PDF already attached Considering the PDF is generated server side, how exactly do you plan on attaching it to an email program running on the client? Is this doable with PHP or Javascript? No. Quote Link to comment https://forums.phpfreaks.com/topic/248775-link-to-open-email-client-and-attach-file/#findComment-1277669 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.