Re: Notes and Policies and Stuff...
| From: | J. M. Castagnetto | Date: | Mon, 23 Oct 2000 01:09:45 +0000 |
| Subject: | Re: Notes and Policies and Stuff... | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6850@lists.php.net to get a copy of this message | ||
Now the "reject" option uses the functions in
phpweb/include/email-validation.inc, check them to see
that I have not make any omissions. Had to do minor
modifications to M. Lemos's class.
Seems to be working AFAICT.
--- "J. M. Castagnetto" <jcastagnetto@yahoo.com>
wrote:
> 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
=====
--- Jesus M. Castagnetto (jcastagnetto@yahoo.com)
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/