These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Line Breaks in Email Message Text

robj
Registered: May 18 2007
Posts: 6

I am keen to find a way to include and add limited formatting such as Line breaks Bold etc to message body text in emails and forwards generated from within PDF's. Can you please let me know if this is possible and details of th e code required.

My Product Information:
Acrobat Pro 7.0.8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
yes, What method are you using to send the email? There are several.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

robj
Registered: May 18 2007
Posts: 6
Hi Thom,

To send email I am using the following script:

app.mailMsg( {bUI: false, cTo: "myaddress",
cSubject: "subject details"} );

(not sure how to start in text message body, nor how to introduce hard returns or other formating)

To forward an email I am using the following script:
this.mailDoc (false, "", "", "",
"subject details", "text details"

(Not sure how to introduce hard returns and other formating)

thanks in advance for your help Thom