Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Feb 2007
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts

    check email user(the part before the @)

    hello

    I have seen many snippets that check an email domain for it's validity but is there any way to check if the user provided exists on the domain provided???

    thank you in advance

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    Something like this will check to see if the email address exists

    http://www.phpclasses.org/browse/package/1519.html

  • #3
    New Coder
    Join Date
    Feb 2007
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thank you I've tryed that but the fsocket function can't connect to any of the yahoo mx servers to check the mail
    (I am trying to check my yahoo mail)

    I have tried telneting into them manually and I get the same error "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond" I also tried pinging the mx servers and telneting to their ip addresses but also no luck

    can you tell me what might be wrong or an alternate way of doing this?

  • #4
    New Coder
    Join Date
    Feb 2007
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts

    doesn't anybody know?

    doesn't anybody know?



  • #5
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,642
    Thanks
    2
    Thanked 405 Times in 397 Posts
    Why not just send the user a confirmation code that has to be activated so you know their e-mail is valid? You could try checking each e-mail account to see if it exists, but it's a waste of resources, and I wouldn't be surprised if most mail servers blocked that functionality to begin with.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •