473,545 Members | 2,115 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

verify email address

how can i verify the email address entered by client???
is there any readily available function for that in php or mysql?????
else suggest me some links for verifying email address enetered by
client.

thxs for help in advance.

Jul 17 '05 #1
4 5267
vishal <vi************ @yahoo.co.in> wrote:
how can i verify the email address entered by client???

is there any readily available function for that in php or mysql?????

else suggest me some links for verifying email address enetered by
client.


It has been asked many times before in comp.lang.php use the archives.

But in short, the only way to really verify is to send a challenge to
the address that could be solved by a program. The text hidden in images
solution comes to mind...
Jul 17 '05 #2
On 2 Apr 2005 03:09:07 -0800, "vishal" <vi************ @yahoo.co.in> wrote:
how can i verify the email address entered by client???
Verify what about it?
is there any readily available function for that in php or mysql?????

else suggest me some links for verifying email address enetered by
client.


Without sending an email, you can check it's syntactically correct, and that's
about it. This is Asked Frequently.

http://www.google.co.uk/search?q=php...+email+address
http://groups.google.co.uk/groups?q=...+email+address

If you want to make sure a human is reading it, send an email containing a URL
to a page on your site with a unique identifier, and ask the person to visit
the URL. You'd have saved the ID when sending the email, then later if the URL
is visited, you can mark that email address as "verified".

--
Andy Hassall / <an**@andyh.co. uk> / <http://www.andyh.co.uk >
<http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #3
Q: How can I check the validity of the email address?
A:
1. Use regular expressions to check the format/syntax of email
address.
2. Use SMTP's VRFY or EXPN command. Note, many turn off this command
for spam abuse.
3. Use checkdnsrr() or getmxrr() to see if the domain has MX records;
and then check if the domain exists.
4. Send a real email to the user, but with an activation URL.

Caveats:
(1) can check only the format and doesn't check if the domain exists or
not
(3) checks only the domain
(4) is the only (right) approach to see if the user uses is own-valid
email address.

Refer:
http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html
http://www.faqs.org/rfcs/rfc2821.html
http://www.network-tools.com/de*****...**@example.com
http://www.devshed.com/c/a/PHP/Email...tion-with-PHP/
http://www.php.net/checkdnsrr
http://www.php.net/getmxrr

Jul 17 '05 #4
Hello,

on 04/02/2005 08:09 AM vishal said the following:
how can i verify the email address entered by client???
is there any readily available function for that in php or mysql?????
else suggest me some links for verifying email address enetered by
client.


You can use this class that can be used to validate an e-mail address
as you need:

http://www.phpclasses.org/emailvalidation

--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
4658
by: NotGiven | last post by:
Is there anyway to verify an email address before you send it? Does anyone know of a way to clean up an email address, like check for "me @theend.co" The above has a space before "@" and is jissing a "M" in "com". If you have any ideas or know of an existing script to do this, please send or link. Thanks!
5
5661
by: Dan Williams | last post by:
Apologies for the cross-post but i thought i'd aim for the largest audience possible. I have a web site that users have to register to with their email address. The site then emails the user their password via Exchange 2000 and ASP/VBScript and CDO. Does anyone know if its possible to verify that the email address exists before sending...
2
1652
by: Cherry | last post by:
Hi, I have an intranet application that should validate the Email Address from the local SMTP Server. I have tried using CDO.Message but that does not seem to have functionality to verify the Email. Please do let me know the approach for this.
6
1597
by: johnt | last post by:
i am looking for help on how to verify information in a form so that the following info has to be filled in before they click on submit. I am not an expert in java or html so any help would be greatly appreciated. Name Address City State Zip
2
2275
by: darin dimitrov | last post by:
Hello, Is there a way to verify that a particular account exists on SMTP server before sending email to it in an ASP.NET web application?
2
5256
by: Wayne Wengert | last post by:
I want to write a Windows application to go through all the email addresses in an SQL Server table and to report which ones are invalid. From Googling and perusing NGs it is my understanding that the process to validate an email address is done at 3 levels: 1. Verify that it is syntactically valid 2. Verify that the domain exists (SMTP...
1
3134
by: Grey | last post by:
I have to write a program to verify email address availability. i have to verify thousand of email address. is there any way to verify the email in ..net instead. the requirement is to verify which email valid or invalid
3
1808
by: Grey | last post by:
I have to write a program to verify email address availability. i have to verify thousand of email address. is there any way to verify the email in ..net instead. the requirement is to verify which email valid or invalid
7
2937
by: =?Utf-8?B?Tmlrb2xheSBQb2Rrb2x6aW4=?= | last post by:
Good afternoon, community! How you help me? I need to know, how could I verify e-mail address? I don't mean ( for example: test@test.com it is valid or not) I wanna know is that real world E-mail or not?
0
7468
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7656
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7808
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7757
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
4945
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3450
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3443
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1884
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
704
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.