[Kde-pim] Re: How to enter an email address

Ingo Klöcker kloecker at kde.org
Sat Oct 23 23:55:13 BST 2010


On Tuesday 12 October 2010, Torgny Nyblom wrote:
> On Saturday 09 October 2010 15.48.38 Allen Winter wrote:
> > On Saturday 09 October 2010 8:21:20 am Rolf Eike Beer wrote:
> > > Tom Albers wrote:
> > > > There is a QValidator based one:
> > > > http://api.kde.org/4.x-api/kdepimlibs-apidocs/kpimutils/html/cl
> > > > assKPIMU tils _1_1EmailValidator.html
> > > 
> > > Nice. Is that a 4.6 addition?
> > 
> > Yes.
> > 
> > Also there is kdepimlibs/kpimutils/email.[cpp,h]  which has lots of
> > handy static functions
> 
> Why the addition of the former (EMailValidator())?
> It has btw a bug: "foo bar"@example.com is a valid email but it will
> be marked as invalid.
> 
> Also why is there isValidSimpleAddress() and isValidAddress()?
> (the former is incomplete in the same way as EMailValidator)

I tried to object against writing some of those because I know very well 
how damn complex the email address syntax is. In the end I dropped my 
objections and just tried to make sure that they work. Apparently, I 
have failed. :/

As far as I'm concerned, feel free to fix them. Unfortunately, removal 
is not possible before KDE 5. :/


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20101024/81e228f8/attachment.sig>
-------------- next part --------------
_______________________________________________
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