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. Rob Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308 | TEL 954-607-4207 | FAX 954-337-2695 Email: info@xxxxxxxxxxxxx | MSN Chat: best@xxxxxxxxxxxxx | SKYPE: bestplace | Web: http://www.bestplace.biz | Web: http://www.seo-diy.com > -----Original Message----- > From: George Pitcher [mailto:george.pitcher@xxxxxxxxxxx] > Sent: Tuesday, November 27, 2007 11:14 AM > To: PHP List > Subject: RE: Emailing dilemma > > Miles, > > I see that tha manual talks about a trusted sender list > (/etc/mail/trusted-users). Do you know if there is something similar > for a > Windows NT server? > > Cheers > > George > > > -----Original Message----- > > From: Miles Thompson [mailto:milesthom@xxxxxxxxx] > > Sent: 26 November 2007 8:44 pm > > To: PHP List > > Subject: Re: Emailing dilemma > > > > > > George, > > > > Had this problem a year ago, although I'm not using PEAR. Have a look > at > > http://ca3.php.net/manual/en/function.mail.php > > and this down in the additional_parameters(optional) section: > > > > "For example, this can be used to set the envelope sender address > > when using > > sendmail with the *-f* sendmail option." > > > > It is not well documented, don't know if this helps, but it may get > you > > started. > > > > Cheers - Miles > > > > On Nov 26, 2007 3:21 PM, George Pitcher > > <george.pitcher@xxxxxxxxxxx> wrote: > > > > > Hi, > > > > > > I have almost 30 websites that use PEAR::Mail to send emails on > > behalf of > > > users at universities (one site for each) to lecturers at the same > > > university. > > > > > > The problem I have is that if a lecturer sets an 'Out of Office' > status, > > > it > > > gets bounced back to my server instead of to the user at the > university. > > > > > > I did have the 'From' set to the user's email address, but that > wasn't > > > very > > > successful ats it caused problems with the universities' anti-spam > > > systems. > > > > > > I've tried using ini_set('sendmail_from',$useremail); but that > doesn't > > > seem > > > to work either. > > > > > > Can anyone point me in the right direction, please? > > > > > > > > > Cheers > > > > > > George in Edinburgh > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php