PHPMailer: HT avoid error msges going 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
phpmailer (or other PHP mail facilities) 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

Someone was so kind to post a solution for mail() recently. But now I
have to use PHPMailer, but in its docu I couldn't find how to solve
the problem...

Thank you!


Re: PHPMailer: HT avoid error msges going back to wwwrun?


on 07/09/2005 11:58 AM Daniel Loose said the following:
Quoted text here. Click to load it

You need to set the return path address. I don't know how you can do it  
with PHPMailer, but if you use the MIMEMessage class you can do it  
simply by setting the Return-Path: header. That classes comes with many  
examples and documentation to show that:


Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP

PHP Reviews - Reviews of PHP books and other products

Metastorage - Data object relational mapping layer generator

Site Timeline