Re: [pear-webmaster] Changing From: in PEPr mails

From: Date: Sat, 28 Aug 2004 21:56:51 +0000
Subject: Re: [pear-webmaster] Changing From: in PEPr mails
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-3032@lists.php.net to get a copy of this message
+1 On Sat, 2004-08-28 at 21:51, Martin Jansen wrote: > Guys, > > I'd like to change PEPr so that emails generated by the system do not > use > > From: "PEPr" <pear-sys@php.net> > > but instead use the email address of the current user: > > if (isset($auth_user)) { > $from = 'From: "' . $auth_user->name . '" <' . > $auth_user->email . '>'; > } else { > $from = 'From: "PEPr" <pear-sys@php.net>'; > } > > This will break some filters out there, but the advantage will be that > it will be much more easier to spot a comment by a specific developer in > mail clients. > > Objections? > > -- > - Martin Martin Jansen > http://martinjansen.com/

« previous php.pear.webmaster (#3032) next »