How to send multiple e-mail in PHP


Jun 06, 2011    Janaki Mahapatra, PHP

To send email in php is pretty easy. Following are some basic steps. 1. Create an address array, to store the email ids. 2. create your subject, message line 3. make a loop to read the above e-mail id and send the mail \r\n"; foreach($Address AS $Add=>$Toemail){ mail($Toemail, $Subject, $Message, $mailheaders); } ?>