mariocesar Posted December 8, 2008 Share Posted December 8, 2008 Hello how can I add another e-mail address, when the users fills the form I want the info to go to 2 e-mail addresses, this code is sending only to one $toAddress="carlos@allstate.com"; $subject="Allstate Contact Form"; $recipientSubject="Allstate Contact Form"; $receiptMessage = "Thank you ".$Name." Our Representative will contact you as soon as possible.<br/><br/>" ."Best Regards.<br/><br/>"; thanks. Quote Link to comment https://forums.phpfreaks.com/topic/136121-how-can-i-add-another-e-mail-address/ Share on other sites More sharing options...
premiso Posted December 8, 2008 Share Posted December 8, 2008 $toAddress="carlos@allstate.com, address2@email.com"; mail Or look up the CC/BCC parts of the mail function. Quote Link to comment https://forums.phpfreaks.com/topic/136121-how-can-i-add-another-e-mail-address/#findComment-709821 Share on other sites More sharing options...
mariocesar Posted December 8, 2008 Author Share Posted December 8, 2008 thanks Premiso. Quote Link to comment https://forums.phpfreaks.com/topic/136121-how-can-i-add-another-e-mail-address/#findComment-709847 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.