MBF Knowledge Base

How do I send to more than one address using PHPMailer?

You can accomplish this by using array concepts in your script. For example:

$Address = array();
$Address[] = $_POST['txtTO'];
foreach($Address AS $Add=>$ToEmail){
mail($ToEmail, $Subject, $Message, $mailheaders);