emailing pdf thru web based Outlook
Hello,
I have a email button on my pdf that attaches the pdf file to an email and it has worked fine for server based Outlook users, but some users have now been switched to web based Outlook and the script no longer works for these users. The current script is:
if (this.getField("Initial").valueAsString==this.getField("Initial").defaultValue) {
app.alert("PLEASE CHECK AND INITIAL THE FORM IF EVERYTHING IS CORRECT");
} else {
// Send the entire PDF as a file attachment on an email
var targetEmail = this.getField("Testing Lab Drop").valueAsString;
var location = this.getField("LocationD").value;
var subjectLine = "Other sample paperwork for: " + location;
this.mailDoc({cTo: targetEmail, cSubject: subjectLine, cMsg: "Thank you"})};
I need this script to work on both server based Outlook and on the Web based Outlook. Is this doable? Thank you for any assistance. I greatly appreciate it!
