Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


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

26

Likes

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
Adobe Community Professional ,
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?

Likes

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 !

Likes

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
Adobe Community Professional ,
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?

Likes

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

Likes

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