[Solar-talk] ValidateEmail filter

Raymond Kolbe rkolbe at gmail.com
Fri Mar 7 20:59:44 CST 2008


I would agree. If there a period after the hostname it must be followed by a
suffix (com, edu, etc). Forcing the suffix is not entirely a good idea if
you have email addresses like rkolbe at localhost and that is it (or something
to that extent).

On Fri, Mar 7, 2008 at 12:42 PM, Robert Gonzalez <robert at everah.com> wrote:

> If I remember correctly the .domain part is not a requirement in an email
> address. But I think that a dot at the end is invalid per the email spec. I
> could be wrong.
>
> Robert
>
>
> Is there a reason why validateEmail() filter no longer forces the domain
> > part
> > to include a dot com or dot whatever. When it was part of
> > Solar_DataFilter it
> > did but now not. So:
> >
> > local at domain - validates
> > local at domain. - does not
> > local at domain.c - validates
> > local at domain.com - validates
> >
> > I can see no difference in the validation expressions in validateEmail()
> > method in the old Solar_DataFilter and new Solar_Filter_ValidateEmail so
> > do
> > not understand why.
> >
> > --
> > ...........::::::...........
> > Jeff Surgeson / South Africa
> > _______________________________________________
> > Solar-talk mailing list
> > Solar-talk at lists.solarphp.com
> > http://mailman-mail3.webfaction.com/listinfo/solar-talk
> >
> >
>
>
> --
> Robert A. Gonzalez
> _______________________________________________
> Solar-talk mailing list
> Solar-talk at lists.solarphp.com
> http://mailman-mail3.webfaction.com/listinfo/solar-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman-mail3.webfaction.com/pipermail/solar-talk/attachments/20080307/91fd1aa4/attachment.html


More information about the Solar-talk mailing list