Skip to main content
Chemtoli007
Known Participant
January 19, 2017
Question

How to send the entire PDF file as an email attachment using JavaScript button.

  • January 19, 2017
  • 1 reply
  • 7003 views

How can I send the entire PDF file (created on Adobe Acrobat DC Pro) as an email attachment using JavaScript button (send to e-mail). I have to use e-mail in @10215394.com.

Kind regards

This topic has been closed for replies.

1 reply

try67
Community Expert
January 19, 2017

There are various ways to do it. The simplest is by using this code:

this.mailDoc({cTo: "Chemtoli007@hotmail.com"});

Chemtoli007
Known Participant
January 19, 2017

dear try67,

I've just tried but acrobat says "We are to create a message in the designated drafts folder of "myemai@hotmail.com" account. Do you want to continue.

After I clicked "YES" I didn't receive any email.

Please what can I do.

Kind regards

Chemtoli007
Known Participant
January 19, 2017

I'm sorry, I don't understand what you mean... When you click the button in the PDF it will create a new email draft.
When you click the Send button in your email client/website that draft will be sent and moved from the Drafts folder to the Sent folder.


tyr67,

I've just send to you PDF file with JavaScript button, could you please check it