Copy link to clipboard
Copied
Hi,
my company has been using a simple adobe form that I put together since January 2019. One of the buttons at the bottom saves the master, flattens the form, saves the flattneed version under a new name in a designated folder based on form data field, and then attaches the flattened file to an outlook email for the user to manually send out.
Starting today, when this particular button is pushed all actions are completed except for attaching the file to an email to send. This is the first time this error has occured. It is not working for any users. Users have tried with outlook open and not open. It does not work either way.
Please let me know if anyone has any ideas on solution to get me back up and running, and let me know what information you need to help me. I can provide code, settings, etc. the specific script for the email action is below. Thank you in advance.
//</ACRO_script>
//</AcroForm>
//<AcroForm>
//<ACRO_source>send:Annot1:MouseUp:Action4</ACRO_source>
//<ACRO_script>
/*********** belongs to: AcroForm:send:Annot1:MouseUp:Action4 ***********/
this.mailDoc({
bUI: true,
cTo: "",
cCc: "",
cSubject: "Bid Submittal - " + this.getField("Project").value + " " + this.getField("Location").value,
cMsg: this.getField("To").value + ",\n\nESSI is pleased to submit the attached bid to " + this.getField("Customer").value + " for consideration on the " + this.getField("Project").value + " project in " + this.getField("Location").value + ". \nAlong with the quote are ESSI's standard terms and conditions. \n\n"
});
Copy link to clipboard
Copied
Are you seeing any errors on the JavaScript console when this button gets pushed?
Copy link to clipboard
Copied
No
Copy link to clipboard
Copied
I was hoping for a good error message 🙂
I am not familiar with this problem, but here is what I would do: Start with a new document, and see if you can get the doc.mailDoc() function to work. If that works, you can then add form fields and if that works, add the flatten command and so on. Use the approach of "stepwise refinement". The first command you should try is just a basic "this.mailDoc(true);"
Does any of that open Outlook?
Copy link to clipboard
Copied
I just found this related question, which blames Outlook (and it's recent update): https://community.adobe.com/t5/acrobat/forms-not-emailing-was-there-a-software-update-that-broke-som...
Somebody from Adobe is participating in that discussion.
Copy link to clipboard
Copied
Thank you on both accounts!
I tested the this.mailDoc(true) function and I got an error back that true is not defined
I will follow the other thread as well. I had a hunch that others would have this problem and it was with Microsoft.
Copy link to clipboard
Copied
It's affecting forms from both the submitForm() and mailDoc() method.
It seems users with Outlook Version 2004 (Build 12730.20206) are experiencing the issue. Another user had Version 2004 (Build 12730.20182) and was able to complete the form and everything functioned accordingly.
I'm using Outlook 2013 and have no issue whatsoever.
I'm wondering if Version 2004 is Office Insider as Microsoft's version history says version 2003 is the latest...https://docs.microsoft.com/en-us/officeupdates/update-history-office365-proplus-by-date
Copy link to clipboard
Copied
That is odd... 'true' should definitely be known to the JavaScript system. It does work on my system. The first parameter is optional, so specifying true should be the same as just running this.mailDoc(), but based on what we now know about the problem, that's a moot point until either Adobe can come up with a workaround, or Microsoft fixes their software.