Re: Email - Best practice/advice please

From: Date: Fri, 12 Sep 2008 17:10:24 +0000
Subject: Re: Email - Best practice/advice please
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-280026@lists.php.net to get a copy of this message
At 2:57 PM +0200 9/12/08, Per Jessen wrote:
Richard Heyes wrote:
I use here-doc plus exec(sendmail).
Why?
Using heredocs is probably habit, but it's also easy, and I like keeping the email template in the code. I use exec(sendmail) because it allows me to set the Return-Path. For purely internal stuff, I just as often use plain mail(). /Per Jessen, Zürich
I've never used exec, but I often use both heredocs and mail() for sending template emails. I just haven't used them for sending mass email. But then again I don't know what defines "mass" anyway. Is mass > 100, > 1000, or what? Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#280026) next »