Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PDF-Action AcroSendMail:SendMail - To? Subject? 1

Status
Not open for further replies.

MakeItSo

Programmer
Oct 21, 2003
3,316
DE
Hi friends,

I've posted this in the Acrobat forum before, alas to no avail. :-(

I've googled on this, checked the FAQs of here and the Javascript forum, but haven't found an answer yet.

Do you know if (and if: how) I can specify the recipient address and/or the subject of the mail resulting from the PDF action "AcroSendMail:SendMail" in Javascript?

And if SendMail does not support such a thing, how else could I achieve it best?

Thanks for all hints!
MakeItSo

[navy]"We had to turn off that service to comply with the CDA Bill."[/navy]
- The Bastard Operator From Hell
 
Thanks a lot, Greg, that did it!

As info:
In order to achieve this, i had to move away from the parameter-less "AcroSendMail:SendMail" towards the "mailDoc" function, which send the PDF as attachment.

The solution now looks like this:
Code:
this.mailDoc(
false,
"recipient@destination.com", "[cc]", "[bcc]",
"Review", [green]//=Subject[/green]
"Please review this document and return. Thank you." [green]//=body[/green]
);

[wavey]
Cheers,
Makey

[navy]"We had to turn off that service to comply with the CDA Bill."[/navy]
- The Bastard Operator From Hell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top