Re: PHP e-mailing question

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

 




------------ Original Message ------------
> Date: Tuesday, February 03, 2015 13:16:02 +0200
> From: Danny <mynixmail@xxxxxxxxx>
> To: php-general@xxxxxxxxxxxxx
> Subject:  PHP e-mailing question
>
> Hi,
> 
> I have a script sending mail to users which works fine. However,
> php sends the mail as user "www-data" (Debian). Is there a way I
> can change this?
> 
> Thank You
> 
> Danny

You need to set the "-f" flag. 

See "example 3" at:

  <http://php.net/manual/en/function.mail.php>



    - Richard



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