[cfaussie] RE: RegEx for email checking

2003-01-21 Thread Steve Onnis
Taco

There is not point really

All you can do is check that it has an @ symbol and a .something

In the end, I could meet the criteria for the check, but then just enter in
a bodgy address anyway

Regards
Steve Onnis
Domain Concept Designs
+61 422 337 685
+61 3 9431 4249
http://www.domainconceptdesigns.com http://www.domainconceptdesigns.com/
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://www.cfcentral.com.au
http://www.cfcentral.com.au/ [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]


(If you think it can't be done, you haven't asked me!) - Steve Onnis


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Taco Fleur
Sent: Tuesday, January 21, 2003 9:15 PM
To: CFAussie Mailing List
Subject: [cfaussie] RegEx for email checking


Just wondering!

Has anyone out there managed to create a watertight regEx for checking and
validating email addresses?

I found a few out there, but once you put them under the microscope you
find that they all seem to be missing something here and there.

And also, has anyone got any idea where I can find the specifications for
an email address, i.e. a document that explains what the max.  min. chars
are, what it can and can't contain etc.? I had a look at www.w3c.org but
no luck

If not, is there anyone interested in creating one as a team effort?
I have some regEx examples that I have broken down and noted the questions
and missing code, but my regEx is a bit rusty lately and besides I want to
make sure it's a 1000% watertight check. not letting anyone get away with
mistakes but also not denying anyone with a valid address...

TIA
Taco Fleur

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/


---
You are currently subscribed to cfaussie as: archive@mail-archive.com
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/



[cfaussie] RE: RegEx for email checking

2003-01-21 Thread taco
Hi Steve,

Correct me if I am wrong, but there are a lot more things you can check for with 
regEx, for example;

- If it has a @ sign and only one
- If the first part of the email has more than X characters, and less than X characters
- If the first part of the email contains only letters, numbers, underscore or hyphen 
etc.
- If the second part of the email more than X characters, and less than X characters
- If the second part of the email contains only letters, numbers, underscore or hyphen 
etc.
- If the second part of the email contains at least one dot and no more than one
Etc. Etc. there are many more things you can check for, since I have not found any 
concrete and accurate info of what an email can consist of I am a bit stuck..

Taco Fleur


 Original Message 
From: Steve Onnis [EMAIL PROTECTED]
Apparently from: [EMAIL PROTECTED]
To: CFAussie Mailing List [EMAIL PROTECTED]
Subject: [cfaussie] RE: RegEx for email checking
Date: Tue, 21 Jan 2003 22:09:33 +1100

 Taco
 
 There is not point really
 
 All you can do is check that it has an @ symbol and a .something
 
 In the end, I could meet the criteria for the check, but then just enter in
 a bodgy address anyway
 
 Regards
 Steve Onnis
 Domain Concept Designs
 +61 422 337 685
 +61 3 9431 4249
 http://www.domainconceptdesigns.com http://www.domainconceptdesigns.com/
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 http://www.cfcentral.com.au
 http://www.cfcentral.com.au/ [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 
 
 (If you think it can't be done, you haven't asked me!) - Steve Onnis
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Taco Fleur
 Sent: Tuesday, January 21, 2003 9:15 PM
 To: CFAussie Mailing List
 Subject: [cfaussie] RegEx for email checking
 
 
 Just wondering!
 
 Has anyone out there managed to create a watertight regEx for checking and
 validating email addresses?
 
 I found a few out there, but once you put them under the microscope you
 find that they all seem to be missing something here and there.
 
 And also, has anyone got any idea where I can find the specifications for
 an email address, i.e. a document that explains what the max.  min. chars
 are, what it can and can't contain etc.? I had a look at www.w3c.org but
 no luck
 
 If not, is there anyone interested in creating one as a team effort?
 I have some regEx examples that I have broken down and noted the questions
 and missing code, but my regEx is a bit rusty lately and besides I want to
 make sure it's a 1000% watertight check. not letting anyone get away with
 mistakes but also not denying anyone with a valid address...
 
 TIA
 Taco Fleur
 
 ---
 You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
 To unsubscribe send a blank email to [EMAIL PROTECTED]
 
 MX Downunder AsiaPac DevCon - http://mxdu.com/
 
 
 ---
 You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
 To unsubscribe send a blank email to [EMAIL PROTECTED]
 
 MX Downunder AsiaPac DevCon - http://mxdu.com/

---
You are currently subscribed to cfaussie as: archive@mail-archive.com
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/



[cfaussie] RE: RegEx for email checking

2003-01-21 Thread Bryan Nolen
Attached is a javascript that I use to check...

If you can't see the attachment, then you can grab it at 
http://r3v3ng.net/scripts/email_check.js

Implimentation test :
http://r3v3ng.net/scripts/email_test.html

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Taco
Fleur
Sent: Tuesday, 21 January 2003 9:15 PM
To: CFAussie Mailing List
Subject: [cfaussie] RegEx for email checking


Just wondering!

Has anyone out there managed to create a watertight regEx for checking
and
validating email addresses?

I found a few out there, but once you put them under the microscope you
find that they all seem to be missing something here and there.

And also, has anyone got any idea where I can find the specifications
for
an email address, i.e. a document that explains what the max.  min.
chars
are, what it can and can't contain etc.? I had a look at www.w3c.org but
no luck

If not, is there anyone interested in creating one as a team effort? 
I have some regEx examples that I have broken down and noted the
questions
and missing code, but my regEx is a bit rusty lately and besides I want
to
make sure it's a 1000% watertight check. not letting anyone get away
with
mistakes but also not denying anyone with a valid address...

TIA
Taco Fleur

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/



email_check.js
Description: Binary data
---
You are currently subscribed to cfaussie as: archive@mail-archive.com
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/



[cfaussie] RE: RegEx for email checking

2003-01-21 Thread Mike Everest
if you're looking for 'official' specs for internet stuff, go straight to
the horrses mouth:

http://www.faqs.org/rfcs

For email addressing, try starting with rfc-822:

http://www.faqs.org/rfcs/rfc822.html

cheers.

+--+
| Turn on your Revenue Stream...   |
| Bolt on a Virtual Cash Register to your e-commerce site now. |
| VeriPay from Xilo Online: http://www.xilo.com/veripay|
+--+

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 Taco Fleur
 Sent: Tuesday, 21 January 2003 9:15 PM
 To: CFAussie Mailing List
 Subject: [cfaussie] RegEx for email checking


 Just wondering!

 Has anyone out there managed to create a watertight regEx for
 checking and
 validating email addresses?

 I found a few out there, but once you put them under the
 microscope you
 find that they all seem to be missing something here and there.

 And also, has anyone got any idea where I can find the
 specifications for
 an email address, i.e. a document that explains what the max.
  min. chars
 are, what it can and can't contain etc.? I had a look at
www.w3c.org but
no luck

If not, is there anyone interested in creating one as a team effort?
I have some regEx examples that I have broken down and noted the questions
and missing code, but my regEx is a bit rusty lately and besides I want to
make sure it's a 1000% watertight check. not letting anyone get away with
mistakes but also not denying anyone with a valid address...

TIA
Taco Fleur

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/


---
You are currently subscribed to cfaussie as: archive@mail-archive.com
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/



[cfaussie] RE: RegEx for email checking

2003-01-21 Thread Steve Onnis
Yeah but once you fullfill those requirements, whats to say that it is
actually a valid email address?

[EMAIL PROTECTED]

this would pass any email validater, but one would safly say that the email
address is a crap one

thats what I mean

All you can do is check that its formatted properly, but as for if is a
valid email address and the account exists, well good luck.

I have added into my validation scripts to do a post to the actual domain
used in the address and then check the response that you get back, IE if you
get a Connection Failure response, then there is no way the address is
valid, but then I cam across mail servers not using standard ports ect.


Regards
Steve Onnis
Domain Concept Designs
+61 422 337 685
+61 3 9431 4249
http://www.domainconceptdesigns.com http://www.domainconceptdesigns.com/
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://www.cfcentral.com.au
http://www.cfcentral.com.au/ [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]


(If you think it can't be done, you haven't asked me!) - Steve Onnis


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, January 21, 2003 10:17 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: RegEx for email checking


Hi Steve,

Correct me if I am wrong, but there are a lot more things you can check for
with regEx, for example;

- If it has a @ sign and only one
- If the first part of the email has more than X characters, and less than X
characters
- If the first part of the email contains only letters, numbers, underscore
or hyphen etc.
- If the second part of the email more than X characters, and less than X
characters
- If the second part of the email contains only letters, numbers, underscore
or hyphen etc.
- If the second part of the email contains at least one dot and no more than
one
Etc. Etc. there are many more things you can check for, since I have not
found any concrete and accurate info of what an email can consist of I am a
bit stuck..

Taco Fleur


 Original Message 
From: Steve Onnis [EMAIL PROTECTED]
Apparently from: [EMAIL PROTECTED]
To: CFAussie Mailing List [EMAIL PROTECTED]
Subject: [cfaussie] RE: RegEx for email checking
Date: Tue, 21 Jan 2003 22:09:33 +1100

 Taco

 There is not point really

 All you can do is check that it has an @ symbol and a .something

 In the end, I could meet the criteria for the check, but then just enter
in
 a bodgy address anyway

 Regards
 Steve Onnis
 Domain Concept Designs
 +61 422 337 685
 +61 3 9431 4249
 http://www.domainconceptdesigns.com http://www.domainconceptdesigns.com/
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 http://www.cfcentral.com.au
 http://www.cfcentral.com.au/ [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]


 (If you think it can't be done, you haven't asked me!) - Steve Onnis


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Taco Fleur
 Sent: Tuesday, January 21, 2003 9:15 PM
 To: CFAussie Mailing List
 Subject: [cfaussie] RegEx for email checking


 Just wondering!

 Has anyone out there managed to create a watertight regEx for checking and
 validating email addresses?

 I found a few out there, but once you put them under the microscope you
 find that they all seem to be missing something here and there.

 And also, has anyone got any idea where I can find the specifications for
 an email address, i.e. a document that explains what the max.  min. chars
 are, what it can and can't contain etc.? I had a look at www.w3c.org but
 no luck

 If not, is there anyone interested in creating one as a team effort?
 I have some regEx examples that I have broken down and noted the questions
 and missing code, but my regEx is a bit rusty lately and besides I want to
 make sure it's a 1000% watertight check. not letting anyone get away with
 mistakes but also not denying anyone with a valid address...

 TIA
 Taco Fleur

 ---
 You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
 To unsubscribe send a blank email to
[EMAIL PROTECTED]

 MX Downunder AsiaPac DevCon - http://mxdu.com/


 ---
 You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
 To unsubscribe send a blank email to
[EMAIL PROTECTED]

 MX Downunder AsiaPac DevCon - http://mxdu.com/

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/


---
You are currently subscribed to cfaussie as: archive@mail-archive.com
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/



[cfaussie] RE: RegEx for email checking

2003-01-21 Thread taco
In that case you are right, there really is nothing you can do that proofs the email 
is existing, only send an email and see if its real and doesn't bounce back.
you could try FINGER user@host but thats not running everywhere, you could PING the 
host, but thats also disabled on most hosts now. You could check if the domains is 
really registered, but it's all going a bit to far. 

I was actually not refering to the above routine either, I was just interested in 
checking if it's correctly formatted, for security purposes (hacking) and just to 
disallow bogus people signing up quickly.

Thanks for the JS script by the way Bryan Nolen...

Taco Fleur

 Yeah but once you fullfill those requirements, whats to say that it is
 actually a valid email address?
 
 [EMAIL PROTECTED]
 
 this would pass any email validater, but one would safly say that the email
 address is a crap one
 
 thats what I mean
 
 All you can do is check that its formatted properly, but as for if is a
 valid email address and the account exists, well good luck.
 
 I have added into my validation scripts to do a post to the actual domain
 used in the address and then check the response that you get back, IE if you
 get a Connection Failure response, then there is no way the address is
 valid, but then I cam across mail servers not using standard ports ect.
 
 
 Regards
 Steve Onnis
 Domain Concept Designs
 +61 422 337 685
 +61 3 9431 4249
 http://www.domainconceptdesigns.com http://www.domainconceptdesigns.com/
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 http://www.cfcentral.com.au
 http://www.cfcentral.com.au/ [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 
 
 (If you think it can't be done, you haven't asked me!) - Steve Onnis
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 [EMAIL PROTECTED]
 Sent: Tuesday, January 21, 2003 10:17 PM
 To: CFAussie Mailing List
 Subject: [cfaussie] RE: RegEx for email checking
 
 
 Hi Steve,
 
 Correct me if I am wrong, but there are a lot more things you can check for
 with regEx, for example;
 
 - If it has a @ sign and only one
 - If the first part of the email has more than X characters, and less than X
 characters
 - If the first part of the email contains only letters, numbers, underscore
 or hyphen etc.
 - If the second part of the email more than X characters, and less than X
 characters
 - If the second part of the email contains only letters, numbers, underscore
 or hyphen etc.
 - If the second part of the email contains at least one dot and no more than
 one
 Etc. Etc. there are many more things you can check for, since I have not
 found any concrete and accurate info of what an email can consist of I am a
 bit stuck..
 
 Taco Fleur
 
 
  Original Message 
 From: Steve Onnis [EMAIL PROTECTED]
 Apparently from: [EMAIL PROTECTED]
 To: CFAussie Mailing List [EMAIL PROTECTED]
 Subject: [cfaussie] RE: RegEx for email checking
 Date: Tue, 21 Jan 2003 22:09:33 +1100
 
  Taco
 
  There is not point really
 
  All you can do is check that it has an @ symbol and a .something
 
  In the end, I could meet the criteria for the check, but then just enter
 in
  a bodgy address anyway
 
  Regards
  Steve Onnis
  Domain Concept Designs
  +61 422 337 685
  +61 3 9431 4249
  http://www.domainconceptdesigns.com http://www.domainconceptdesigns.com/
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  http://www.cfcentral.com.au
  http://www.cfcentral.com.au/ [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 
 
  (If you think it can't be done, you haven't asked me!) - Steve Onnis
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Taco Fleur
  Sent: Tuesday, January 21, 2003 9:15 PM
  To: CFAussie Mailing List
  Subject: [cfaussie] RegEx for email checking
 
 
  Just wondering!
 
  Has anyone out there managed to create a watertight regEx for checking and
  validating email addresses?
 
  I found a few out there, but once you put them under the microscope you
  find that they all seem to be missing something here and there.
 
  And also, has anyone got any idea where I can find the specifications for
  an email address, i.e. a document that explains what the max.  min. chars
  are, what it can and can't contain etc.? I had a look at www.w3c.org but
  no luck
 
  If not, is there anyone interested in creating one as a team effort?
  I have some regEx examples that I have broken down and noted the questions
  and missing code, but my regEx is a bit rusty lately and besides I want to
  make sure it's a 1000% watertight check. not letting anyone get away with
  mistakes but also not denying anyone with a valid address...
 
  TIA
  Taco Fleur
 
  ---
  You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
  To unsubscribe send a blank email to
 [EMAIL PROTECTED]
 
  MX Downunder AsiaPac DevCon - http://mxdu.com/
 
 
  ---
  You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
  To unsubscribe send

[cfaussie] RE: RegEx for email checking

2003-01-21 Thread Laurent . Fontaine

Maybe you can use some webservices to ask the email server to validate it
for you.

http://www.serviceobjects.com/products/dots_email.asp?bhcp=1
http://www.cdyne.com/web-services.aspx?flash=1

I never used them though.

 Laurent Fontaine   
 Sr Web Developer   
 American Power Conversion  




  Level 13, 65 Berry Street 
  North Sydney, NSW 2060
  AUSTRALIA 

 tel: +61 2 8923 9339   


 @:   [EMAIL PROTECTED] 







   
 
  [EMAIL PROTECTED]   
 
  Sent by:  To:  CFAussie Mailing 
List [EMAIL PROTECTED] 
  [EMAIL PROTECTED] cc:
 
  emon.com.au   Subject: [cfaussie] RE: 
RegEx for email checking
   
 
   
 
  22/01/2003 07:28 AM  
 
  Please respond to CFAussie  
 
  Mailing List
 
   
 
   
 




In that case you are right, there really is nothing you can do that proofs
the email is existing, only send an email and see if its real and doesn't
bounce back.
you could try FINGER user@host but thats not running everywhere, you could
PING the host, but thats also disabled on most hosts now. You could check
if the domains is really registered, but it's all going a bit to far.

I was actually not refering to the above routine either, I was just
interested in checking if it's correctly formatted, for security purposes
(hacking) and just to disallow bogus people signing up quickly.

Thanks for the JS script by the way Bryan Nolen...

Taco Fleur

 Yeah but once you fullfill those requirements, whats to say that it is
 actually a valid email address?

 [EMAIL PROTECTED]

 this would pass any email validater, but one would safly say that the
email
 address is a crap one

 thats what I mean

 All you can do is check that its formatted properly, but as for if is a
 valid email address and the account exists, well good luck.

 I have added into my validation scripts to do a post to the actual domain
 used in the address and then check the response that you get back, IE if
you
 get a Connection Failure response, then there is no way the address is
 valid, but then I cam across mail servers not using standard ports ect.


 Regards
 Steve Onnis
 Domain Concept Designs
 +61 422 337 685
 +61 3 9431 4249
 http://www.domainconceptdesigns.com http://www.domainconceptdesigns.com/

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 http://www.cfcentral.com.au
 http://www.cfcentral.com.au/ [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]


 (If you think it can't be done, you haven't asked me!) - Steve Onnis


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 [EMAIL PROTECTED]
 Sent: Tuesday, January 21, 2003 10:17 PM
 To: CFAussie Mailing List
 Subject: [cfaussie] RE: RegEx for email checking


 Hi Steve,

 Correct me if I am wrong, but there are a lot more things you can check
for
 with regEx, for example;

 - If it has a @ sign and only one
 - If the first part of the email has more than X characters, and less
than X
 characters
 - If the first part of the email contains only letters, numbers,
underscore
 or hyphen etc.
 - If the second part of the email more than X characters, and less than X
 characters
 - If the second part of the email contains only letters, numbers,
underscore
 or hyphen etc.
 - If the second part of the email contains at least one dot and no more
than
 one

[cfaussie] RE: RegEx for email checking

2003-01-21 Thread taco
Cheers for that.
 
 Maybe you can use some webservices to ask the email server to validate it
 for you.
 
 http://www.serviceobjects.com/products/dots_email.asp?bhcp=1
 http://www.cdyne.com/web-services.aspx?flash=1
 
 I never used them though.
 
  Laurent Fontaine   
  Sr Web Developer   
  American Power Conversion  
 
 
 
 
   Level 13, 65 Berry Street 
   North Sydney, NSW 2060
   AUSTRALIA 
 
  tel: +61 2 8923 9339   
 
 
  @:   [EMAIL PROTECTED] 
 
 
 
 
 
 
 
  
   
   [EMAIL PROTECTED] 
   
   Sent by:  To:  CFAussie 
Mailing List [EMAIL PROTECTED] 
   [EMAIL PROTECTED] cc:  
   
   emon.com.au   Subject: [cfaussie] RE: 
RegEx for email checking
  
   
  
   
   22/01/2003 07:28 AM
   
   Please respond to CFAussie
   
   Mailing List  
   
  
   
  
   
 
 
 
 
 In that case you are right, there really is nothing you can do that proofs
 the email is existing, only send an email and see if its real and doesn't
 bounce back.
 you could try FINGER user@host but thats not running everywhere, you could
 PING the host, but thats also disabled on most hosts now. You could check
 if the domains is really registered, but it's all going a bit to far.
 
 I was actually not refering to the above routine either, I was just
 interested in checking if it's correctly formatted, for security purposes
 (hacking) and just to disallow bogus people signing up quickly.
 
 Thanks for the JS script by the way Bryan Nolen...
 
 Taco Fleur
 
  Yeah but once you fullfill those requirements, whats to say that it is
  actually a valid email address?
 
  [EMAIL PROTECTED]
 
  this would pass any email validater, but one would safly say that the
 email
  address is a crap one
 
  thats what I mean
 
  All you can do is check that its formatted properly, but as for if is a
  valid email address and the account exists, well good luck.
 
  I have added into my validation scripts to do a post to the actual domain
  used in the address and then check the response that you get back, IE if
 you
  get a Connection Failure response, then there is no way the address is
  valid, but then I cam across mail servers not using standard ports ect.
 
 
  Regards
  Steve Onnis
  Domain Concept Designs
  +61 422 337 685
  +61 3 9431 4249
  http://www.domainconceptdesigns.com http://www.domainconceptdesigns.com/
 
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  http://www.cfcentral.com.au
  http://www.cfcentral.com.au/ [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 
 
  (If you think it can't be done, you haven't asked me!) - Steve Onnis
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of
  [EMAIL PROTECTED]
  Sent: Tuesday, January 21, 2003 10:17 PM
  To: CFAussie Mailing List
  Subject: [cfaussie] RE: RegEx for email checking
 
 
  Hi Steve,
 
  Correct me if I am wrong, but there are a lot more things you can check
 for
  with regEx, for example;
 
  - If it has a @ sign and only one
  - If the first part of the email has more than X characters, and less
 than X
  characters
  - If the first part of the email contains only letters, numbers,
 underscore
  or hyphen etc.
  - If the second part of the email more than X characters, and less than X
  characters
  - If the second part of the email

[cfaussie] RE: RegEx for email checking

2003-01-21 Thread Taco Fleur
I just wanted to comment on my own message, regarding the checking of
email for existence..

I just remembered that it is possible to perform a session via telnet to
the mailserver checking if it will accept any messages to the email in
question.


---
You are currently subscribed to cfaussie as: archive@mail-archive.com
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/



[cfaussie] RE: RegEx for email checking

2003-01-21 Thread Viktor . Radnai

This email is to be read subject to the disclaimer below.

Yes, and you can use nslookup or similar to find the MX record for the
domain (which is a special type of DNS record listing the mail servers for
a domain). Then you could telnet to each listed mail server. But I think
that if something goes wrong and you get complaints from your users, you
would have a rather tough time figuring out where your verification
procedure went wrong.

The method of emailing people a random password or token and requiring them
to enter it is IMHO a much safer way of verifying not only the validity of
an email address, but that the person signing up actually has access to it.

Also the 'resolve host and then telnet' approach feels a bit like shooting
mozzies with anti-aircraft artillery...

Viktor Radnai
Web Developer, National E-Commerce, Ernst  Young
Direct:  +61 2 9248 4361



   
 
Taco Fleur   
 
[EMAIL PROTECTED]  To: CFAussie Mailing 
List [EMAIL PROTECTED]
Sent by:  cc:  
 
[EMAIL PROTECTED]Subject: [cfaussie] RE: 
RegEx for email checking  
mon.com.au 
 
   
 
22/01/2003 10:19 AM
 
Please respond to CFAussie
 
Mailing List  
 
   
 
   
 



I just wanted to comment on my own message, regarding the checking of
email for existence..

I just remembered that it is possible to perform a session via telnet to
the mailserver checking if it will accept any messages to the email in
question.


---
You are currently subscribed to cfaussie as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/





NOTICE - This communication contains information which is confidential and
the copyright of Ernst  Young or a third party.

If you are not the intended recipient of this communication please delete
and destroy all copies and telephone Ernst  Young on 1800 655 717
immediately. If you are the intended recipient of this communication you
should not copy, disclose  or distribute this communication without the
authority of Ernst  Young.

Any views expressed in this Communication are those of the individual
sender, except where the sender specifically states them to be the views of
Ernst  Young.

Except as required at law, Ernst  Young does not represent, warrant and/or
guarantee that the integrity of this communication has been maintained nor
that the communication is free of errors, virus, interception or
interference.

Liability limited by the Accountants Scheme, approved under the
Professional Standards Act 1994 (NSW)





---
You are currently subscribed to cfaussie as: archive@mail-archive.com
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/



[cfaussie] RE: RegEx for email checking

2003-01-21 Thread taco
Yes I beleive you are right, in most cases it will be the best solution to send an 
email with the password. Actually my initial discussion was not based on checking if 
the email exists or not, but it became a topic. I just wanted to correct myself.

PS. If you would do it via telnet it would be better to do it the following way;
telnet to host on port 25
HELO [domain name]
MAIL FROM [email address]

Which would return
220 www.safe-mail.net ESMTP Exim 3.22 #1 Tue, 21 Jan 2003 18:40:39 -0500
250 www.safe-mail.net Hello host [x.x.x.x]
MAIL FROM: [EMAIL PROTECTED]
250 [EMAIL PROTECTED] is syntactically correct


 Yes, and you can use nslookup or similar to find the MX record for the
 domain (which is a special type of DNS record listing the mail servers for
 a domain). Then you could telnet to each listed mail server. But I think
 that if something goes wrong and you get complaints from your users, you
 would have a rather tough time figuring out where your verification
 procedure went wrong.
 
 The method of emailing people a random password or token and requiring them
 to enter it is IMHO a much safer way of verifying not only the validity of
 an email address, but that the person signing up actually has access to it.
 
 Also the 'resolve host and then telnet' approach feels a bit like shooting
 mozzies with anti-aircraft artillery...
 
 Viktor Radnai
 Web Developer, National E-Commerce, Ernst  Young
 Direct:  +61 2 9248 4361
 
 
 
  
   
 Taco Fleur 
   
 [EMAIL PROTECTED]  To: CFAussie Mailing 
List [EMAIL PROTECTED]
 Sent by:  cc:
   
 [EMAIL PROTECTED]Subject: [cfaussie] 
RE: RegEx for email checking  
 mon.com.au   
   
  
   
 22/01/2003 10:19 AM  
   
 Please respond to CFAussie  
   
 Mailing List
   
  
   
  
   
 
 
 
 I just wanted to comment on my own message, regarding the checking of
 email for existence..
 
 I just remembered that it is possible to perform a session via telnet to
 the mailserver checking if it will accept any messages to the email in
 question.
 
 
 ---
 You are currently subscribed to cfaussie as:
 [EMAIL PROTECTED]
 To unsubscribe send a blank email to
 [EMAIL PROTECTED]
 
 MX Downunder AsiaPac DevCon - http://mxdu.com/
 
 
 
 
 
 NOTICE - This communication contains information which is confidential and
 the copyright of Ernst  Young or a third party.
 
 If you are not the intended recipient of this communication please delete
 and destroy all copies and telephone Ernst  Young on 1800 655 717
 immediately. If you are the intended recipient of this communication you
 should not copy, disclose  or distribute this communication without the
 authority of Ernst  Young.
 
 Any views expressed in this Communication are those of the individual
 sender, except where the sender specifically states them to be the views of
 Ernst  Young.
 
 Except as required at law, Ernst  Young does not represent, warrant and/or
 guarantee that the integrity of this communication has been maintained nor
 that the communication is free of errors, virus, interception or
 interference.
 
 Liability limited by the Accountants Scheme, approved under the
 Professional Standards Act 1994 (NSW)
 

---
You are currently subscribed to cfaussie as: archive@mail-archive.com
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/



[cfaussie] Re: RegEx for email checking

2003-01-21 Thread sean
[EMAIL PROTECTED] resolves by every test, even vrfy recpient checks
appear return the standard results from a locked down mail server.

Email: [EMAIL PROTECTED]
User: b.gates
Domain: microsoft.com
MX 10 = mailb.microsoft.com [131.107.3.123]

- 220 inet-imc-03.redmond.corp.microsoft.com Microsoft.com ESMTP Server
Tue, 21 Jan 2003 18:10:05 -0800
- HELO localhost
- 250 inet-imc-03.redmond.corp.microsoft.com Hello [127.0.0.1]
- MAIL FROM:[EMAIL PROTECTED]
- 250 2.1.0 [EMAIL PROTECTED] OK
- VRFY b.gates
- 252 2.1.5 Cannot VRFY user, but will take message for
[EMAIL PROTECTED]
- VRFY [EMAIL PROTECTED]
- 252 2.1.5 Cannot VRFY user, but will take message for
[EMAIL PROTECTED]
- RCPT TO:[EMAIL PROTECTED]
- 250 2.1.5 [EMAIL PROTECTED]
- RSET
- 250 2.0.0 Resetting
- QUIT
- 221 2.0.0 inet-imc-03.redmond.corp.microsoft.com Service closing
transmission channel

Any server side testing of an email adress is imho pointless. Email a
password for general

but b.gates@microsoft ain't my address. and IU'd probably be willing to put
money on the fact that any address translating however approximately to
bubba gates at a microsoft domain isn't checked except once every six months
for new funny hate mail to foward around the office.

I also have a couple of addresses that would violate most extremely
retentive verification. I've got a couple of blahlah.blahblah.com email
addresses. And one blahblah.blahblah.blahblah.com not to mention the .com.au
style addresses. I've also got one that I use fairly regularly as an anti
spam defence with 40 or 50 characters before the @ and very few of my mail
addressess can be pinged, vrfy'd or otherwise existence checked. Spammers
have to work to qualify my addresses ;

I generally either email passwords to my users if I need to verify the
address, or treat any adress recieved as suspect and probably invalid.

[EMAIL PROTECTED] wrote in message news:22138@cfaussie...

 Yes I beleive you are right, in most cases it will be the best solution to
send an email with the password. Actually my initial discussion was not
based on checking if the email exists or not, but it became a topic. I just
wanted to correct myself.

 PS. If you would do it via telnet it would be better to do it the
following way;
 telnet to host on port 25
 HELO [domain name]
 MAIL FROM [email address]

 Which would return
 220 www.safe-mail.net ESMTP Exim 3.22 #1 Tue, 21 Jan 2003 18:40:39 -0500
 250 www.safe-mail.net Hello host [x.x.x.x]
 MAIL FROM: [EMAIL PROTECTED]
 250 [EMAIL PROTECTED] is syntactically correct


  Yes, and you can use nslookup or similar to find the MX record for the
  domain (which is a special type of DNS record listing the mail servers
for
  a domain). Then you could telnet to each listed mail server. But I think
  that if something goes wrong and you get complaints from your users, you
  would have a rather tough time figuring out where your verification
  procedure went wrong.
 
  The method of emailing people a random password or token and requiring
them
  to enter it is IMHO a much safer way of verifying not only the validity
of
  an email address, but that the person signing up actually has access to
it.
 
  Also the 'resolve host and then telnet' approach feels a bit like
shooting
  mozzies with anti-aircraft artillery...
 
  Viktor Radnai
  Web Developer, National E-Commerce, Ernst  Young
  Direct:  +61 2 9248 4361
 
 
 
 
  Taco Fleur
  [EMAIL PROTECTED]  To:
CFAussie Mailing List [EMAIL PROTECTED]
  Sent by:  cc:
  [EMAIL PROTECTED]Subject:
[cfaussie] RE: RegEx for email checking
  mon.com.au
 
  22/01/2003 10:19 AM
  Please respond to CFAussie
  Mailing List
 
 
 
 
 
  I just wanted to comment on my own message, regarding the checking of
  email for existence..
 
  I just remembered that it is possible to perform a session via telnet to
  the mailserver checking if it will accept any messages to the email in
  question.
 
 
  ---
  You are currently subscribed to cfaussie as:
  [EMAIL PROTECTED]
  To unsubscribe send a blank email to
  [EMAIL PROTECTED]
 
  MX Downunder AsiaPac DevCon - http://mxdu.com/
 
 
 
 
  
  NOTICE - This communication contains information which is confidential
and
  the copyright of Ernst  Young or a third party.
 
  If you are not the intended recipient of this communication please
delete
  and destroy all copies and telephone Ernst  Young on 1800 655 717
  immediately. If you are the intended recipient of this communication you
  should not copy, disclose  or distribute this communication without the
  authority of Ernst  Young.
 
  Any views expressed in this Communication are those of the individual
  sender, except where the sender specifically states them to be the views
of
  Ernst  Young.
 
  Except as required at law, Ernst  Young