How to verify if an email address actually exists?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shalinikonatam
    New Member
    • Sep 2007
    • 10

    How to verify if an email address actually exists?

    I have to chek whether the email exist or not using php
    ex:test@gmail.c om is valid email format but it may not be exist.I have to check wherther the email is exist or not.
    please help me
  • smartic
    New Member
    • May 2007
    • 150

    #2
    Try to search on google about regular expressions.

    Comment

    • code green
      Recognized Expert Top Contributor
      • Mar 2007
      • 1726

      #3
      Do you want to test if an email is of a valid construction or check whether the address is a genuine email address?
      A preg_match expression can check for most address formats, but you will find different regular expressions making this claim.
      The only way to truly test if an email address is genuine is to obtain a reply from that address, unless you have access to the email providers directory.

      Comment

      • Atli
        Recognized Expert Expert
        • Nov 2006
        • 5062

        #4
        I've changed the title of this thread to better describe it's topic.
        Using good, descriptive titles that follow the Posting Guidelines will increase your chances of getting you question answered!

        Moderator

        Comment

        • sdhariwal
          New Member
          • Sep 2007
          • 2

          #5
          if you are using smtp to send ur mails then you can check wether the email exist or not , simply send a mail to the address and set bounce mail address if the mail bounced it will be notified on your given bounced mail address you can then check it

          Comment

          • Purple
            Recognized Expert Contributor
            • May 2007
            • 404

            #6
            Originally posted by sdhariwal
            if you are using smtp to send ur mails then you can check wether the email exist or not , simply send a mail to the address and set bounce mail address if the mail bounced it will be notified on your given bounced mail address you can then check it
            Hi all,

            not wanting to be pedantic but it is common practice to configure email servers not to respond to incorrectly address emails - this is done to stop directory harvesting attacks.

            Another approach implemented is tar pitting where a non delivery response is sent after a delay, again to reduce the effectiveness of directory harvesting attacks.

            Regards Purple

            Comment

            Working...