Re: setting 'sendmail_from' on windows
| From: | Mark Rees | Date: | Fri, 19 Aug 2005 08:41:56 +0000 |
| Subject: | Re: setting 'sendmail_from' on windows | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-220928@lists.php.net to get a copy of this message | ||
""George Pitcher"" <george.pitcher@ingenta.com> wrote in message
news:AMEPJAJDOFCDLPGFDOIFCEHIHGAA.george.pitcher@ingenta.com...
> Hi,
>
> I am sending emails out from php using a variety of 'From addresses',
> depending on who is logged on. I would like bounced messages to go
directly
> to the sender, but they are not. I suspect that this is because in
php.ini,
> I have to set the 'sendmail_from' to a specific address.
>
I don't know if this will work, but try using ini_set to change
sendmail_from as necessary
http://uk2.php.net/manual/en/function.ini-set.php
List of ini options here
http://uk2.php.net/manual/en/ini.php#ini.list
> Can anyone suggest an alternative, other than switching platforms?
>
> MTIA
>
>
> George