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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to