• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

Basic mail.Doc not opening Outlook 2016 (ver. 2108 build 14326.20238)

Community Beginner ,
Sep 02, 2021 Sep 02, 2021

Copy link to clipboard

Copied

Hi All,

new to forum and looking for what can cause Outlook not opening when I use the most basic javascript code mail.Doc  Full disclosure, I am not a programmer so I found snippets of code here and there.

This is what I have :

var cToAddr = "my1stemail@address.com";
var cSubLine = "this is my subject";
var cCCAddr = "my2ndemail@address.com";
var cBody = "this is the email body I want to send out";

this.mailDoc({
    bUI: true, 
    cTo: cToAddr, 
    cCc: cCCAddr,
    cSubject: cSubLine, 
    cMsg: cBody});

This would be activated by pressing a button on the form.

My PDF form has radio buttons, text boxes and 2 signature fields.

 

Thanks for your help

TOPICS
JavaScript , PDF forms

Views

461

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 03, 2021 Sep 03, 2021

Copy link to clipboard

Copied

The code itself seems fine. What happens when you press the button, exactly?
Also, did you define any accounts under Edit - Preferences - Email Accounts?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 03, 2021 Sep 03, 2021

Copy link to clipboard

Copied

Thanks for the reply.

Checkmark is next to "Default email application".

 

When I click the button, the pointer goes from a "hand with finger" to an arrow, then back to "hand with finger".

It's like if the operation timed out or failed to launch and I am "returned" back to the form where I can continue to input text in the fields.

What is weird is that I sent the form to a friend on a Mac - the button worked. I tried it on my wife's computer (running an older Outlook 2010) and it worked. So I just wonder what happened to Outlook 2016 !

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 03, 2021 Sep 03, 2021

Copy link to clipboard

Copied

What application, including exact version number, are you using to view the PDF file?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 03, 2021 Sep 03, 2021

Copy link to clipboard

Copied

LATEST

I tried with Acrobat Pro 2020 ver. 2020.004.30006

and with Reader DC ver. 2021.005.20060

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines