Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Send email without PDF attachment

ccasmoe20
Level 2
Level 2

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.

1 Reply
radzmar
Level 10
Level 10

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"

} );