Avatar

Level 9

I have figured out the script to send an e-mail based on a drop-down object but I need to also Cc two other people on that same email based on those users entering their email addresses on the form in two seperate textfields named, "CC-EmailAdrress1" and "CC-EmailAddress2". How can this be done?

Here's the script I am using so far"

var vEmail;

if (txtToAddress.rawValue !== null) {
     vEmail = txtToAddress.rawValue;
}


event.target.submitForm({cURL:"mailto: " + vEmail + "?subject=MAR Assignment",cSubmitAs:"PDF",cCharset:"utf-8"});