I have successfully used one of Thomp's scripts to set up a dynamically populated email using a submitForm command. My question is, how can I embed code in this code set to modify other email attributes such as font type or size etc. Go easy, I'm a newby to this stuff. Thanks in advance. Here is the code set:
// This is the form return e-mail. Its hardcoded
// so that the form is always returned to the same address
// Change address on your form
var cToAddr = "memberplus_accounts [at] sdrma [dot] org";
// First, get the client CC e-mail address
var cCCAddr = this.getField("Email").value;
// Set the subject and body text for the e-mail message
var cSubLine = "SDRMA Form Submittal for " + this.getField("Member").value;
var cBody = "Dear valued member, \n\n" +
"Thank you for using SDRMA MemberPlus Online! Please click on 'Send' to forward this email to SDRMA and complete your submittal.\n\n" +
"A copy of this email will be sent to the email address provided by you on the attached form.\n\n" +
"For any questions or assistance, please contact us at (800) 537-7790 or e-mail us at MemberPlus_accounts [at] sdrma [dot] org.\n\n\n" + "Sincerely,\n\n" +
"Member Services\n" +
"SDRMA MemberPlus Online";
//** Send the form data as an XML attachment on an e-mail
// Build the e-mail URL
var cEmailURL = "mailto:memberplus_accounts [at] sdrma [dot] org?cc=" + cCCAddr
+ "&subject=" + cSubLine
+ "&body=" + cBody;
this.submitForm({cURL: cEmailURL, cSubmitAs:"PDF", cCharSet:"utf-8"});
Example: Total payable at 1.25% of the previous line