mail(): error messages NOT back to wwwrun?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

a friend was so kind to host my php scripts. but when they use mail()
or phpmailer (or whatever) to email e.g. to an invalid address, the
returning error message appears in *my friend's email inbox*
(recipient - or sender? -  is "wwwrun" of my friend's machine). I
guess you understand which problem I mean. To fix the problem, I would
like to understand what is going on here - in the mail header, i did
set replyto, x-sender and from to *my* email address, but it doesnt
help. so where must I change what to free my kind friend from this

Thank you!

Re: mail(): error messages NOT back to wwwrun?

*** Daniel Loose wrote/escribió (Sat, 02 Jul 2005 20:25:12 GMT):
Quoted text here. Click to load it

If mail is sent through a local binary you can use fifth argument:


mail($from, $subject, $cuerpo, "From: $from", "-f$errors");


-- Álvaro G. Vicario - Burgos, Spain
-- - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group

Site Timeline