kabucek Posted May 11, 2009 Share Posted May 11, 2009 Hi All, We are using self build online store on CentOS server(php,mysql,https) - CMS. First Developer created for us field in online store back-end where we can modify emails that are send to customers. As of now, 2 copies are send in separate emails. We want them to be send as one with CC field. How can we modify attached script to do that? Thanks. 1: emailResponseScript:$salesParameters['directoryURL']="https://somedirsomedir/somedir";$salesParameters['submitButtonURL']="https://somedir/somedir/somedir/images/signupnow.gif"; $salesParameters['fieldLabelStyleString']="style=\'font-size:10pt;color:red;padding-right:5pt;\'";$salesParameters['tagFormatString']="<DIV style=\'width:100%;text-align:left;\'><!tag!></DIV>";$salesParameters['anchorStyleString']="style=\'text-decoration:none;color:#4C310D;font-size:12pt;font-weight:bold;\' "; $emailMessagesArray['1']['templateURL']="https://somedir/somedir/emailTemplates/customerNotification.html";$emailMessagesArray['1']['subjectTemplate']="TEST <!first!> <!last!> <!cartHeader:totalPrice!> <!city!> <!state!> (#<!cartHeader:itemID!>)"; $emailMessagesArray['1']['fromEmailAdr']="registration@something.com"; $emailMessagesArray['1']['fromEmailName']="REGISTRTION DEPARTMENT"; $emailMessagesArray['1']['destEmailAdrTemplate']="<!emailAdr!>"; $emailMessagesArray['1']['destEmailNameTemplate']="<!first!> <!last!>"; $emailMessagesArray['2']['templateURL']=" https://somedir/somedir/emailTemplates/customerNotification.html "; $emailMessagesArray['2']['subjectTemplate']="Party <!first!> <!last!> <!cartHeader:totalPrice!> <!city!> <!state!> (#<!cartHeader:itemID!>)"; $emailMessagesArray['2']['fromEmailAdr']="registration@something.com"; $emailMessagesArray['2']['fromEmailName']="REGISTRATION DEPARTMENT"; $emailMessagesArray['2']['destEmailAdrTemplate']="registrationdept@something.com"; $emailMessagesArray['2']['destEmailNameTemplate']="Registration" Quote Link to comment https://forums.phpfreaks.com/topic/157692-how-to-send-email-in-1-with-cc-instead-of-3-separates/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.