1 person found this helpful
I assume you mean app.mailMsg. But even with the correct case, this method is not supposed to be available with Reader, as documented by the X in the last column of the Quick bar here: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.155.html
I'm not sure what to make of the fact that it works with some versions of Reader. I know it doesn't work for all versions of Reader 9.
You assume correctly. I am using app.mailMsg.
That is some very interesting information. All my users were using Adobe Reader 9.4.1, and some just recently went to X (myself included to test). I had never seen this error before Reader X. An even stranger thing is that I have been testing all morning to recreate the problem, and as of right now I can't get the most recent version of the form to throw the error in Reader X.
Do you know of another way to send an email from Adobe without attaching the form, that is compatible with Reader?
It's possible that Adobe intentionally decided to make it available with Reader, but I don't know. Without an arrifmative confirmation from Adobe, it would be someone risky to depend on. I'm not aware of any other way to do what you want.
FWIW, it works for me using Reader 10.1.0 and 9.4.4.
Thank you George for all your feedback. I have a couple options for the future. The first is to stop installing Reader X on people's machines. The second is to include the person as a CC on the other email being sent. Which is done using the mailDoc() method. Now to research if this function works in Reader.
The mailDoc method will work with Reader if the document is Reader-enabled. A potential problem is then the limit imposed by the Acrobat license. But if you're not using information from the returned document, there should not be a problem.