Skip to main content
Participant
April 27, 2020
Question

Adobe not interfacing with Outlook

  • April 27, 2020
  • 1 reply
  • 1898 views

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"
});

This topic has been closed for replies.

1 reply

Karl Heinz  Kremer
Community Expert
Community Expert
April 27, 2020

Are you seeing any errors on the JavaScript console when this button gets pushed? 

Participant
April 27, 2020

No

Karl Heinz  Kremer
Community Expert
Community Expert
April 28, 2020

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?