Skip to main content
louisl62754462
Participant
December 19, 2018
Question

Looking for help allowing free Acrobat to create .eml attachment

  • December 19, 2018
  • 5 replies
  • 532 views

I have been spending so much time trying to find the answer to this.

I created a form with dozens of fields that users fill in. I want to create button that opens an email with .eml and have the email body populate with the fields. I was able to do this with Adobe Acrobat DC Pro but when you click the button in the Free Adobe Acrobat nothing happens.

I have used the following code:

var doc = this.createDataObject({cName: "arrest.eml", cValue: emailcontent});

this.exportDataObject({cName: "arrest.eml", nLaunch:2});

As I said, it works with the Pro but not with the Free version.  And NO, I do not want to attach the PDF to the email.

Any suggestions?

Thanks

This topic has been closed for replies.

5 replies

louisl62754462
Participant
December 19, 2018

That's great try67. One last question: I've been writing a calculation script for the text field as you suggested. Any way to bold and underline certain words in the big text field?

try67
Community Expert
Community Expert
December 19, 2018

Yes, that's possible, but it's a bit complex. You need to enable the Rich

Text Formatting option of the field and then apply the value using an array

of Span objects, instead of a plain text string.

On Wed, 19 Dec 2018 at 21:00, louisl62754462 <forums_noreply@adobe.com>

louisl62754462
Participant
December 19, 2018

That's what I thought. Alternatively, is there a way to add a textbox or something similar so that all the pertinent fields are there in one place so a user could just ctrl-A then ctrl-C and pasted it in an email? Or absolutely any other ideas to extract all the info in the dozens of text boxes so the user could paste them in an email? These are government computers so I will not be able to export info server side.

Thanks

try67
Community Expert
Community Expert
December 19, 2018

Sure, you can set up a text field with a calculation script so that its value will be the text you want to include in the email.

You can also set up a link with a dynamic mailto URL to automatically generate the email, but that has a limited length.

try67
Community Expert
Community Expert
December 19, 2018

You can't create new data objects (ie, attachments) using the free Reader.

louisl62754462
Participant
December 19, 2018

Hello Bevi,

Yes I do

Bevi Chagnon - PubCom.com
Legend
December 19, 2018

Question: when you say "free Acrobat," do you mean the free Adobe Acrobat Reader software that users have on their computers and devices?

|&nbsp;&nbsp;&nbsp;&nbsp;Bevi Chagnon &nbsp;&nbsp;|&nbsp;&nbsp;Designer, Trainer, &amp; Technologist for Accessible Documents ||&nbsp;&nbsp;&nbsp;&nbsp;PubCom |&nbsp;&nbsp;&nbsp;&nbsp;Classes &amp; Books for Accessible InDesign, PDFs &amp; MS Office |