Re: PHP e-mailing question

From: Date: Tue, 03 Feb 2015 09:53:38 +0000
Subject: Re: PHP e-mailing question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-324378@lists.php.net to get a copy of this message
I guess you have to change the headers accordingly. (If I got you Correctly) Use something like this: $headers = 'From: Your Custom Name <webmaster@example.com>'; mail($to, $subject, $message, $headers); -- Sourced From http://php.net/manual/en/function.mail.php On Tue, Feb 3, 2015 at 5:01 PM, Danny <mynixmail@gmail.com> wrote: > 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Nootan Ghimire http://cafecod.es/ nootan@ghimire.me nootan.ghimire@gmail.com

« previous php.general (#324378) next »