Jump to content

Link to open email client and attach file?


extrovertive

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.