Skip to main content
Participant
January 3, 2020
Answered

PDF form submit button, no minimize button on outlook window

  • January 3, 2020
  • 1 reply
  • 478 views

I have a PDF form that works with a submit button. The submit button runs on a JavaScript command (this.mailDoc).

 

When I click the submit button, it does as intended. It opens up an Outlook window, however I noticed the window has no minimize button and there's no way to come out of it except closing the window. 

 

Is there a way to bring back the minimize button? Should the script be amended in anyway?

 

I read somewhere that it can't be done, would like to hear any other opinions.

 

Many thanks!

This topic has been closed for replies.
Correct answer radzmar

There's no way to control the behavior of the mail application via scriptings in Acrobat. You can only hand over a couple of pre-defined parameters (to, cc, bcc, subject etc.). Since there are several methods to send a file, you can try another one to test if your Outlook behaves differently with it. 

var cTo = "user@company.org",
    cSub = "E-Mail subject",
    cMsg = "Hello,\n\nthis is an e-mail for you."
this.submitForm({cURL: "mailto:" + cTo + "?subject=" + cSub + "&body=" + cMsg, cSubmitAs: "PDF"});

 

1 reply

radzmar
Community Expert
radzmarCommunity ExpertCorrect answer
Community Expert
January 5, 2020

There's no way to control the behavior of the mail application via scriptings in Acrobat. You can only hand over a couple of pre-defined parameters (to, cc, bcc, subject etc.). Since there are several methods to send a file, you can try another one to test if your Outlook behaves differently with it. 

var cTo = "user@company.org",
    cSub = "E-Mail subject",
    cMsg = "Hello,\n\nthis is an e-mail for you."
this.submitForm({cURL: "mailto:" + cTo + "?subject=" + cSub + "&body=" + cMsg, cSubmitAs: "PDF"});