Mega Code Archive

 
Categories / Php / Email
 

Mail to multiple recipients

<?php    $headers = "From:sender@rntsoft.com\r\n";    $recipients = "test@java.com,a@rntsoft.com";    mail($recipients, "This is the subject","This is the mail body", $headers); ?>