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

Add cc: email address

Avatar

Level 3

Created a submit form. How do I add a cc: email- address to my form. Thank you.

1 Accepted Solution

Avatar

Correct answer by
Level 6

mailto:john@asdf.com?cc=lisa@adsf.com&subject=Re: New Account Opening&body=Thank%20you%21

Not sure why the envelop icons appeared above...

View solution in original post

4 Replies

Avatar

Level 6

Depends on your Submit approach. Are you using the LC Submit button taht comes withthe application?  If so, drag a button to the from, mke the Control Type: Submit under the Field tab, and add/modify this script under the Submit tab:

mailto:john@asdf.com?cc=lisa@adsf.com&subject=New Account Opening&body=Thank%20you%21

If you want to use a custom button witrh scripting... add this to the button using the script editor:

var mail;

var address = "main.email.com";

var ccAdd = "cc.email.com";

var sub = “ testing emailing”

var body = “file attached”; //default text in email body

mail = "mailto: " + address + "?cc=" + ccAdd + "&subject=" + sub + "&body=" + body;

  1. event.target.submitForm({

cURL: mail,

bEmpty: true,

cSubmitAs: "PDF", //attach PDF to email

cCharset: "utf-8"

});

}

Avatar

Correct answer by
Level 6

mailto:john@asdf.com?cc=lisa@adsf.com&subject=Re: New Account Opening&body=Thank%20you%21

Not sure why the envelop icons appeared above...

Avatar

Level 6

Cool. you're welcome. Please mark answer "Correct" so others know this has been resolved.