Re: Notes and Policies and Stuff...
| From: | J. M. Castagnetto | Date: | Sun, 22 Oct 2000 06:10:58 +0000 |
| Subject: | Re: Notes and Policies and Stuff... | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6820@lists.php.net to get a copy of this message | ||
I remembered that Manuel Lemos wrote a class to
validate an address at 3 levels:
"...
Class that may be used to determine if a given e-mail
address is valid.
It features:
- Simple validation just by looking at the e-mail
address string.
- Validation of a e-mail address host as a valid mail
exchange domain.
- Validation of a e-mail address by connecting to the
mail host server to determine if there is really a
deliverable mail box.
..."
We will want to use the class for the 3rd type of
validation. A quick test shows that it seems to work
quite well, will add some more to the code and test
later.
As for the NOSPAM, NO_SPAM, NO-SPAM, and low case
variations, I think we could just do a search and
replace and then test the resulting address using the
class. Nothing too complicated.
Tnxs for the nice words Rob, after all I always say
that anything that can make the job easier/simpler is
a good thing (I am lazy that way ;-).
--- Ron Chmara <ron@Opus1.COM> wrote:
> "J. M. Castagnetto" wrote:
> > I have made the modifications for the "Reject"
> option.
> > Will commit and test for the next hour or so, if
> > anything breaks I will revert to the current
> versions
> > of phpweb/include/shared-manual.inc and
> > phpweb/manual/admin-notes.php
>
> Wow. You rock. This is insanely great!
>
> I did some more line breaking, bracketed the url for
> users
> of mail clients that require such things, and
> changed a
> little wording. Nothing special. I see that it does
> some basic email
> validity checking for check and lists.php.net, but
> it's
> going to choke on typical "ronNOSPAM@opus1.com" 'bot
> hiding
> email addresses...
>
> There's some decent code samples using getmxrr()
> etc. on:
>
> http://www.php.net/manual/ref.mail.php
> http://www.php.net/manual/function.mail.php
>
> We might want to look into using these before we
> really piss off
> the php.net postmaster with a few hundred bounce
> messages per day,
> on old notes, users entering bad email addresses,
> etc.
>
> :-)
>
> -Bop
>
> --
> Brought to you from iBop the iMac, a MacOS, Win95,
> Win98, LinuxPPC machine,
> which is currently in MacOS land. Your bopping may
> vary.
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-notes-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-notes-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
=====
--- Jesus M. Castagnetto (jcastagnetto@yahoo.com)
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/