denoteone Posted June 3, 2008 Share Posted June 3, 2008 i have the c.c. header working. but I want the main sending to go to 2 people. as of now it is mail('mrawers@******.com',$subject,$emailmessage,$headers) I need for it to be mail('mrawers@*******.com AND dbauer@********.com',$subject,$emailmessage,$headers) would I set those both in a variable and then just have mail($myvariable,$subject,$emailmessage,$headers) ???????? Link to comment https://forums.phpfreaks.com/topic/108595-solved-adding-multiple-people-to-mail/ Share on other sites More sharing options...
Jabop Posted June 3, 2008 Share Posted June 3, 2008 <?php mail('mrawers@*******.com,dbauer@********.com',$subject,$emailmessage,$headers) ?> Link to comment https://forums.phpfreaks.com/topic/108595-solved-adding-multiple-people-to-mail/#findComment-556902 Share on other sites More sharing options...
revraz Posted June 3, 2008 Share Posted June 3, 2008 Also, look at example 4 http://us3.php.net/function.mail Link to comment https://forums.phpfreaks.com/topic/108595-solved-adding-multiple-people-to-mail/#findComment-556921 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.