I have an email format for php, using the kind of attach_mailer available on the internet ... So far I always send an email by address, but now I need the same email to be sent to several recipients.
$correos_empresa ="[email protected],[email protected]";
foreach($correos_empresa as $key_correo => $value_correo){
$test = new attach_mailer($name = $asunto, $from = "[email protected]", $value_correo, $cc= "[email protected]" , $bcc= "" , $asunto, ($mensaje));
$test->process_mail();
}
But now it should be something like this ...
$test = new attach_mailer($name = $asunto, $from = "[email protected]", "[email protected],[email protected]", $cc= "[email protected],[email protected]" , $bcc= "" , $asunto, ($mensaje));
$test->process_mail();
Any help is appreciated