Send email without PDF attachment

ccasmoe20

19-10-2017

Hi everyone,

I am looking for help with creating a form and sending specific text fields in the body of an email, without having it attach the pdf itself.

To clarify, I would like to send the "Date", "Name", and "Room" in the body of an email. But I do not want to attach a pdf at the same time.

emailpdf.jpg

Any help is much appreciated.

Accepted Solutions (0)

Answers (1)

Answers (1)

radzmar

MVP

04-11-2017

There is a mailMsg() method you can use.

var cVariable = xfa.resolveNode("form1.page1.textField2").rawValue;

app.mailMsg({

bUI: true,

cTo: "myBoss@example.com",

cSubject: "A Message for you",

cMsg: "Hello,\n\n" + cVariable + "\n\nKind regards"

} );