Mail function (Mailer Deamon)
Posted: Wed Aug 07, 2002 11:46 am
I use a form on my site, the user can enter a mail-adress and then a mail is being send to that adress. I just use the function:
mail($to,$subject,$mail,$headers);
Now my problem is that when someone enters an invalid adress (like: qsdqsd@qsdqsd.com) a mailer deamon is being send to the host. My server admin has been complaining that he gets to many mailer deamons
How can I prevent this, how can I let the mailer deamons being send to me and not to the server.
Putting "From: $from", "Return-To: $from", "Errors-To: $from" in the headers doesn't help. ($from is my email adress).
Does anyone knows a solution for this?
thx,
Lancelot
http://www.multiccianforce.tk
mail($to,$subject,$mail,$headers);
Now my problem is that when someone enters an invalid adress (like: qsdqsd@qsdqsd.com) a mailer deamon is being send to the host. My server admin has been complaining that he gets to many mailer deamons
Putting "From: $from", "Return-To: $from", "Errors-To: $from" in the headers doesn't help. ($from is my email adress).
Does anyone knows a solution for this?
thx,
Lancelot
http://www.multiccianforce.tk