By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,278 Members | 1,329 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,278 IT Pros & Developers. It's quick & easy.

mail function - failure mails receives provider

P: n/a
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 failure mails.
is it possible to send the mail daemons ( failures ) to a special
adress,
so that the provider doesnt reseive so many emailfailures ?
he hates me for that. is that a server problem ?

thx for a quick answer
haref

/************************************************** ****************************
Function : send_mail
************************************************** *****************************/
function send_mail($email)
{
$mail="my****@mydomain.com";
$vtext="thats the text\n;

$confirm="Confirm Message";

$text=str_replace("\\\"","\"",$text);
$text=str_replace("\'","'",$text);

mail($email,$confirm,$vtext,"From: ".$mail);

}
Jul 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
> so that the provider doesnt reseive so many emailfailures ?
he hates me for that. is that a server problem ?

thats a provider problem - if they install their servers this way it's there
problem, isn't it?
you could try to look for a header like "Return-to:" but i don't know if one
exists for that fact.

yours, dreamguard.
Jul 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.