Re: email verifier
Re: email verifier
- Subject: Re: email verifier
- From: Cem Karan <email@hidden>
- Date: Wed, 16 May 2007 06:51:16 -0400
On May 16, 2007, at 6:33 AM, René v Amerongen wrote:
Hello list,
In my current application I need to implement an email adress
verifier.
To be honest I have no clue how to do that in cocoa.
Does someone have any suggetions where to start. If I google I get so
much , but nothing usefull, or did miss something
If you are trying to figure out what the current format for an email
address is, see RFC 2822 (http://www.faqs.org/rfcs/rfc2822.html)
If you want to check to make sure that an address conforms to the
format, you can use NSScanner (http://developer.apple.com/
documentation/Cocoa/Conceptual/Strings/Articles/Scanners.html),
although a full regex engine may work better (http://www.cocoadev.com/
index.pl?RegularExpressions).
If you are trying to validate that an email address actually exists,
you won't be able to. There is no central repository ensuring that
an email address exists. If you have your own domain name, and want
to make sure that a person exists on your servers, you should be able
to do that, but that is about it.
Good luck,
Cem Karan_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden