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.


Is it possible to generate HTML e-mail through JavaScript in a PDF Form button?

New Here ,
Sep 08, 2021 Sep 08, 2021

Copy link to clipboard

Copied

Hi everyone,

I can generate an e-mail through a PDF Form button (Javascript), but I have no luck in generating in HTML format. All the e-mails come out in Plain Text in Outlook.

 

When I try to add the HTML tags for the e-mail body in the JavaScript, the e-mail displays the tags in the e-mail body rather than switching to HTML in Outlook (ex.: <b>Title</b> instead of showing Title)

 

I'm using mailMsg() to generate the e-mail, but I also couldn't manage to do it using mailDoc().

Is there any other way I can do that? Is that even possible?

 

TOPICS
JavaScript, PDF forms

Views

38

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

correct answers 1 Correct answer

Adobe Community Professional , Sep 08, 2021 Sep 08, 2021
No, plain-text only.

Likes

Translate

Translate
Adobe Community Professional ,
Sep 08, 2021 Sep 08, 2021

Copy link to clipboard

Copied

LATEST

No, plain-text only.

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