PHPMailer: HT avoid error msges going back to wwwrun?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Daniel Loose

    PHPMailer: HT avoid error msges going back to wwwrun?

    Hi,

    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...

    Thank you!

    Daniel
  • Manuel Lemos

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

    Hello,

    on 07/09/2005 11:58 AM Daniel Loose said the following:[color=blue]
    > 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...[/color]

    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:




    --

    Regards,
    Manuel Lemos

    PHP Classes - Free ready to use OOP components written in PHP
    Free PHP Classes and Objects 2026 Versions with PHP Example Scripts, PHP Tutorials, Download PHP Scripts, PHP articles, Remote PHP Jobs, Hire PHP Developers, PHP Book Reviews, PHP Language OOP Materials


    PHP Reviews - Reviews of PHP books and other products


    Metastorage - Data object relational mapping layer generator

    Comment

    Working...