How to send email in 1 with CC instead of 3 separates?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kabucek
Forum Commoner
Posts: 50
Joined: Thu Sep 04, 2008 2:20 pm

How to send email in 1 with CC instead of 3 separates?

Post by kabucek »

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:

Code: Select all

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/ ... ation.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"
Post Reply