RE: Emailing dilemma

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rob,

>
> You could try the following headers (they might also cause trouble to the
> antispam soft, but I'd give it a try)
>
> // Replies delivered to the user
> Reply-To: <username@xxxxxxxxxx>
> // Bounces delivered to the user
> Return-Path: <username@xxxxxxxxxx>
> // Errors delivered to the user
> Errors-To: <username@xxxxxxxxxx>
>
> I don't know if either Return-Path or Errors-To will work (maybe
> both work)
> but I believe Errors-To would be more suitable... just give it a
> try and let
> us know.
>
Tried these but it doesn't stop the actual email envelope from using the
sendmail_from tag as the Return-path.

Did some testing and putting ini_set('sendmail_from', $useremail) just ahead
of the $mail->send() command did the trick. It may be that it needs to have
the headers set correctly to work, as I had tried this setting change in the
past unsuccessfully.

Anyway, another small problem removed from my list.

Thanks to all who chipped in on this one.

George

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux