• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: email verifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: email verifier
  • Next by Date: Re: email verifier
  • Previous by thread: [Moderator] Re: email verifier
  • Next by thread: Re: Applescript good book? [was: Trying to get folder path of a Finder window]
  • Index(es):
    • Date
    • Thread