Friday, January 15, 2010

How to check if an email address exists without sending an email?

We have all been doing email address validation for a very long time to make sure that the email is correctly formatted. This is to avoid users entering wrongly formatted email address but still they can accidentally give us a wrong email address.

Example of a correctly formatted email address but still wrong:
mailbox.does.not.exist@gmail.com [VALID email fromat but still not correct]
Above case specifically happens when you take important customer email on phone and you type in the wrong email. So is there a QUICK solution to really check the email without sending a test message to the user? Yes.
The solution
A quick & simple check below can be implemented in most programming language including PHP, Python etc. It relies on using the same SMTP which is used to send emails.
To check if user entered email mailbox.does.not.exist@reddit.com really exists go through the following in command prompt.
First - Find mail exchanger of reddit.com
COMMAND:
nslookup - q=mx reddit.com
RESPONSE:
reddit.com      MX preference = 10, mail exchanger = mail.reddit.com
mail.reddit.com internet address = 208.96.53.70
Second - Connect to mail server mail.reddit.com
COMMAND:
telnet mail.reddit.com 25
RESPONSE:
220 mail.reddit.com ESMTP Postfix NO UCE NO UEMA  C=US L=CA Unsolicated electronic mail advertisements strictly prohibited, subject to fine under CA law CBPC 17538.45.  This electronic mail service provider’s equipment is located in the State of California.  See http://www.reddit.com/static/inbound-email-policy.html for more information.
COMMAND:
helo hi
RESPONSE:
250 mail.reddit.com
COMMAND:
mail from: youremail@gmail.com
RESPONSE:
250 2.1.0 Ok
COMMAND:
rcpt to: mailbox.does.not.exist@reddit.com
RESPONSE:
550 5.1.1 : Recipient address rejected: User unknown in local recipient table
COMMAND:
quit
RESPONSE:
221 2.0.0 Bye
NOTES:
1) the 550 response indicates that the email address is not valid and you have caught a valid but wrong email address. This code can be on the server and called on AJAX when user tabs out of the email field.  The entire check will take less than 2 seconds to run and you can make sure that the email is correct.
2) If email was present the server will respond with a 250 instead of 550
3) There are certain servers with a CATCH ALL email and this means all email address are accepted as valid on their servers (RARE but some servers do have this setting).
4) Please do not use this method to continuously to check for availablity ofgmail / yahoo / msn accounts etc as this may cause your IP to be added to a blacklist.  
5) This is to supplement the standard email address javascript validation. 

Thursday, January 14, 2010

letsGo.gr - a unique experience of navigation!

www.letsGo.gr is upgraded continuously and established late but regularly as one from most reliable and friendly sites the market, offering a unique experience of pilotage in his users! 


Even if it is found still in test operation (beta publication), the possibilities and operations of www.letsGo.gr they are already many: 

  •  His new figurative map, while it is found already under growth new layout site. 
  •  Digital charts for all Greece. 
  •  Search of Address, in level of road and number, in Greek or greeklish, for the all big cities of Greece. Search in level of road or settlement for smallest. Will very at an early date be added also the possibility of intelligent search (smart search) with base the name of point of interest, eg Tower of Athens [anti] his address, that usually no one does not know. 
  • Possibility of definition of address as Starting line or Destination, so as to does not need somebody him it types again.  
  • Routing by a point in other, with possibility of choice of Locomotion with Car or Pedestrian (ignoring one way roads and signals of circulation) and Evasion of Ring (because you do not circulate in the centre that day) and/or Tolls. 
  • Possibility of choice of shorter possible way in time or distance. 
  • Is provided also the possibility of choice of intermediary point, Via which you want to pass in order to you take a friend or you buy a bouquet…: -) 
  • It has also are added the possibility of Reverse Routing, but also the Routing with Return, in order to we facilitate still more the user, decreasing in the minimal need of typing, if by any chance it changes opinion or wishes it sees also that it will return [ap]΄ there that will go. 
  • Possibility of choice of Starting line and your his Destination directly on t o n of map (manually), making use of right key of mouse (right click). 
  •  Points of Interest that are related with the locomotions, that is to say Stations Underground, [ISAP], Tram, Suburban, Service stations of Humid Fuels, Spaces of Quartering and Churches, which will very at an early date be enriched with still more. Particular accent has been given in the use and in the provided operations site, so as to he is simple and very friendly: 
  • Simple and functional Menu, with possibility of dissimulation, so as to can the user see clearly the Chart in entire his screen. · Alternative ways of enlargement via special tool (toolbar) above right in the page, with double right [klik] or [rodela] mouse. 
  • Printing and mission with eMail Chart & the directives of Routing. 
  • Cleaning of way and points of interest with one only key. 
  • Form in order to says no one his opinion or it proposes some correction or change in the geographic data. 
  • Was increased also considerably the speed site, decreasing the size (volume) his. · Automatic adaptation (auto-resize) site in the screen of each user. 
  • Compatibility with all browsers market (IE, FireFox, Chrome, Opera & Safari), and we continue…