Good morning, I'm Jasin from Indonesia.
I'm currently make a web site using PHP "(infokulit com)".
I have a service named konsultasi(consultation), which everyone can send me an email from my web site "(infokulit.com/Konsultasi-Perawatan-Kecantikan-Kulit.html)".
I have a problem to detect an exist email and not existing email. I can check the domain like "gmail.com".
but I can not check the user name like "andi" from "andi@gmail.com".
Is there any way that i can check the username from the email, weather it is exist or not existed?
Thank You before.
Quote:
| Originally Posted by jas1n2007 Good morning, I'm Jasin from Indonesia.
I'm currently make a web site using PHP "(infokulit com)".
I have a service named konsultasi(consultation), which everyone can send me an email from my web site "(infokulit.com/Konsultasi-Perawatan-Kecantikan-Kulit.html)".
I have a problem to detect an exist email and not existing email. I can check the domain like "gmail.com".
but I can not check the user name like "andi" from "andi@gmail.com".
Is there any way that i can check the username from the email, weather it is exist or not existed?
Thank You before. |
Welcome to Dev Shed.
Please don't cross post... if it's posted in the wrong forum, it will be moved.
The answer to your question is no. Checking the mx record is the farthest you can go to check the validity of the email. Actual users are not published anywhere for you to check to see if they are valid.
Was this answer helpful ?
Yes No
Quote:
| Originally Posted by jas1n2007 Good morning, I'm Jasin from Indonesia.
I'm currently make a web site using PHP "(infokulit com)".
I have a service named konsultasi(consultation), which everyone can send me an email from my web site "(infokulit.com/Konsultasi-Perawatan-Kecantikan-Kulit.html)".
I have a problem to detect an exist email and not existing email. I can check the domain like "gmail.com".
but I can not check the user name like "andi" from "andi@gmail.com".
Is there any way that i can check the username from the email, weather it is exist or not existed?
Thank You before. |
SMTP has a function to check if an email address exists. VRFY or something like that (check the rfc). However, most mail server admins disable this feature because it can (and usually is) abused by spammers. So you'll just have to send the email and see if it bounces.
Was this answer helpful ?
Yes No