Trying to setup an email button that just launches the email app with a "to" address but I keep getting a "/" at the end of the email.
I've tried:
xfa.host.gotoURL("mailto://email@address.com");
app.launchURL("mailto://email@address.com");
Views
Replies
Total Likes
Hi Jono,
Try
app.launchURL(
mailto:user@example.com?cc=cc@example.com&bcc=bcc@example.com&subject=Message Title&body=Message Con...);
Seems to work in Acrobat 9.2 ... haven't tested any others.
Bruce
Views
Replies
Total Likes
Got what I needed from Niall, uses Acrobat's mailMsg():
var vEmail = "email@address.com";
var vSubject = "A Subject or the value from an object";
var vBody = "Put your message here. \n\nThis will send an email only and not the form or xml.";event.target.app.mailMsg({
bUI: true,
cTo: vEmail,
cSubject: vSubject,
cMsg: vBody
});
Views
Replies
Total Likes