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

Your name:

Reply:


Posted by Manuel Lemos on 07/11/05 04:31

Hello,

on 07/09/2005 11:58 AM Daniel Loose said the following:
> 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
> "spam"?
>
> 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...

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:

http://www.phpclasses.org/mimemessage


--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация