[Kde-pim] Review Request: Return error when email address ends with '.'

Gary L. Greene, Jr. greeneg at tolharadys.net
Thu Aug 27 06:36:46 BST 2009


On Wednesday 26 August 2009 10:17:35 pm Torgny Nyblom wrote:
> On Wednesday 26 August 2009 20:33:09 you wrote:
> > On 8/26/09 11:08 AM, "Martin Koller" <kollix at aon.at> wrote:
> > > On Wednesday 26 August 2009, Torgny Nyblom wrote:
> > >> Check if an email address ends with '.'. If this is the case return an
> > >>  error. Add unit tests for this as well as for the
> > >> "isValidAddressList()" function.
> > >
> > > I think it is valid that an email address's domain ends with a "."
> > > Have a look at RFC 1035
> >
> > This is legal according to the RFCs since email clients are supposed to
> > treat this no differently than DNS clients.
> 
> I've been looking at that RFC but I cannot find were it says that
> "user at domain.tld." should be a vaild email address. Could you point me to
> where this is specified?
> 
> /Torgny
> _______________________________________________
> KDE PIM mailing list kde-pim at kde.org
> https://mail.kde.org/mailman/listinfo/kde-pim
> KDE PIM home page at http://pim.kde.org/
> 

As this is defined in RFC 3696, http://tools.ietf.org/html/rfc3696#page-5 , 
The domain portion must be a valid domain address that is understood by DNS 
for the express purpose of discovering the MX for a given network. These are 
of course defined in RFC 1035 that the trailing . is legal.
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list