hi ng,
what can i do in the following mail function, which hast 400
subscribers
who are read from a database and to which the mails are send in a
loop, when there are some adresses who are not reachable.
My provider receives all the fail mails.
is it possible to send the mail daemons ( failures ) to a special
adress,
so that the provider doesnt reseive so many emailfailures ?
thx for a quick answer
haref
/************************************************** ****************************
Function : send_mail
************************************************** *****************************/
function send_mail($email)
{
$mail="se****@mail.com";
$vtext="thats the text\n;
$confirm="Confirm Message";
$text=str_replace("\\\"","\"",$text);
$text=str_replace("\'","'",$text);
mail($email,$bestaetigung,$vtext,"From: ".$mail);
}