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: <[EMAIL PROTECTED]>
> // Bounces delivered to the user
> Return-Path: <[EMAIL PROTECTED]>
> // Errors delivered to the user
> Errors-To: <[EMAIL PROTECTED]>
>
> 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

Reply via email to