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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to send an email without attaching the form or the form data?

Avatar

Level 1

I'm creating a form that will have an email button to send an allert that the form was filled out. So far I got it to work based on another example on this forum, but it is attaching the file to the email. I don't want that, all I need is to send an email with a predefined Subject line. Here is the test form I'm trying to tweek:

http://dl.dropbox.com/u/5098048/Forum.pdf

Thanks a lot!

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

for a plain mail without attachments use the app.mailMsg method.

app.mailMsg({

          bUI: false,

          cTo: 'a@b.cd',

          cCc: '',

          cBcc: '',

          cSubject: 'Bla bla bla',

          cMsg: 'Message bla bla bla'

});

View solution in original post

0 Replies

Avatar

Correct answer by
Level 10

Hi,

for a plain mail without attachments use the app.mailMsg method.

app.mailMsg({

          bUI: false,

          cTo: 'a@b.cd',

          cCc: '',

          cBcc: '',

          cSubject: 'Bla bla bla',

          cMsg: 'Message bla bla bla'

});

Avatar

Level 1

This is exactly what I was looking for!

I was looking all over the place, but I couldn't find a place to learn more about this functionality. Is there a particular book or website you would recommend to learn more about JavaScript or FormCalc for LD?

Thanks a lot for the help!