RE: [PHP-DEV] PEAR Contribution From: Richard Heyes (php <email protected>)
Date: 08/20/00

> Mmm. I should have paid a little bit more attention. "This
> list" should be
> php-pear <email protected> - for some reason that's where I
> thought you'd written to
> originally.

Ok, will subscribe.

> (p.s. Also, if you care for my opinion, I think the code to
> actually send the
> email should be as seperate as possible from the code to
> generate the MIME
> message. That way you can add backends (php's mail function,
> smtp, sendmail,
> etc) much more modularly.

Pretty much does that already; there's two methods to send the mail,
send() which uses the php mail() function and smtp_send() which uses
Manuel Lemos' smtp class.

Take care!

--
Richard Heyes

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>