Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
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

4 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!