RE: [PHP-PEAR] Mail implementation
| From: | Chuck Hagenbuch | Date: | Wed, 25 Oct 2000 23:01:25 +0000 |
| Subject: | RE: [PHP-PEAR] Mail implementation | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-421@lists.php.net to get a copy of this message | ||
Quoting Richard Heyes <richard.heyes@heyes-computing.net>:
> Shouldn't be too difficult to write a function that does similar, I can
> oblige if you wish (though briefly looking at the rfc this function could
> quickly turn into a class of its' own :) ).
Easily - that's why it's nice to have a builtin function to do it. It's not a
trivial task, and being able to use someone else's work instead of redoing it is
a big win.
> It could be argued also, that no validation should be done at all,
> leaving it to the people writing the scripts that utilise the Mail class,
> though the I think support for checking the addresses should definitley
> exist somewhere.
What about checking the addresses if the imap module is available, and otherwise
not?
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
Many states consider gambling so immoral that they not only prohibit private
gambling organizations, they thoughtfully provide their own.