473,231 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,231 software developers and data experts.

Still unable to check for valid emails

PHP for Dummies (well that's what it's called. Page 136

"^.+@.+\.com$" this should work with eregi()

Any ideas please



Aug 18 '05 #1
3 1099
On 2005-08-18, Des <de*********@aol.com> wrote:
PHP for Dummies (well that's what it's called. Page 136
"^.+@.+\.com$" this should work with eregi()

As the title of the book says: It will make you dumber than you were

You might want to use a combination of
and http://php.net/checkdnsrr
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
Aug 18 '05 #2
/* **
function validmail($mail) {
$mail, $check)) {
return 1;
return 0;
** */

Aug 18 '05 #3

on 08/18/2005 07:40 AM Des said the following:
PHP for Dummies (well that's what it's called. Page 136

"^.+@.+\.com$" this should work with eregi()

Any ideas please


You may want to try this e-mail validation class that not only performs
regular expression validation but also check with the destination SMTP


Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP

PHP Reviews - Reviews of PHP books and other products

Metastorage - Data object relational mapping layer generator
Aug 26 '05 #4

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

Similar topics

by: Hoang | last post by:
anyone know of an algorithm to filter out real email addresses as opposed to computer generated email addresses? I have been going through past email archives in order to find friends email...
by: Alex Vinokur | last post by:
------------------------------- ifstream fin ("foo.txt"); if (!fin) cout << "Warning: Unable to open file" << endl; ------------------------------- There are several reasons for getting that...
by: Robert Hogan | last post by:
Hello, I am attempting to send emails using T-SQL (in a SQLServerAgent Job) using the stored procedure sp_SendSMTPMail. I created the stored proc using the following script that I got off a post...
by: Pieter Coucke | last post by:
Hi, In my VB.NET 2005 application I'm generating and sending emails using the outlook-object model (2003). When a mail is Send (MailObject_Send), I raise an event in a global class, that is...
by: CMan | last post by:
Hi, I need to check emails from a web application. Is there a simple way for the application to check whether an email arrived? Thanks C
by: Varlamov Konstantyn | last post by:
I have simple script: <?php $connection = ssh2_connect("ip", 22); ssh2_auth_password($connection,"login","test");
by: =?Utf-8?B?am9lbA==?= | last post by:
When I posted a comment, I received a message that you had tried 3 times to send me emails but had been unable to do so. You asked me to solve this problem. How do I solve this problem? -- joel
by: =?Utf-8?B?a2FyZW4=?= | last post by:
hi, i have office 2004 for mac, am using entourage as my email service. i have random emails that i am unable to delete or move - any ideas?
by: darrel | last post by:
Quick background: Our department reveived new PCs a few weeks ago. Alas, due to new security policies, we weren't immediately set up as admins of our own machines, so most of us developers had...
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.