Re: Email - Best practice/advice please

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

 



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

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