From kde-pim Thu Aug 27 05:36:46 2009 From: "Gary L. Greene, Jr." Date: Thu, 27 Aug 2009 05:36:46 +0000 To: kde-pim Subject: Re: [Kde-pim] Review Request: Return error when email address ends Message-Id: <200908262236.46741.greeneg () tolharadys ! net> X-MARC-Message: https://marc.info/?l=kde-pim&m=125135556211425 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" 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@domain.tld." should be a vaild email address. Could you point me to > where this is specified? > > /Torgny > _______________________________________________ > KDE PIM mailing list kde-pim@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@kde.org https://mail.kde.org/mailman/listinfo/kde-pim KDE PIM home page at http://pim.kde.org/