|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Mail Function (Mailer deamon)
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 |
|
#2
|
|||
|
|||
|
RE: Mail Function (Mailer deamon)
another precaution you could take, would be to check whether or not the host of the e-mail (@domain.com) actually exists. although i'd need my notes to actually give an example.
i would assume your host should be able to set something up on his/her end to automatically return lost e-mails sent from you back to you |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Mail Function (Mailer deamon) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|