473,322 Members | 1,431 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,322 software developers and data experts.

Email-address validation

Simple question: Does Framework (1.1) contain any routine to check entered
email-address is valid ?

It's quite easy to make own code for that purpose, but why to do if
Framework (1.1) contain this kind of routine.

--
Thanks in advance!

Mika
Nov 21 '05 #1
35 3308
Hi,
You can use regular expressions for that. Check out the
System.Text.RegularExpressions namespace in the FCL. You can get regular
expressions for various pattern and format validations from many web sites.
One such site is http://www.regexlib.com/

HTH

"Mika M" <mika.mahonen@nospam_kolumbus.fi> wrote in message
news:OC**************@TK2MSFTNGP09.phx.gbl...
Simple question: Does Framework (1.1) contain any routine to check entered
email-address is valid ?

It's quite easy to make own code for that purpose, but why to do if
Framework (1.1) contain this kind of routine.

--
Thanks in advance!

Mika

Nov 21 '05 #2
"Mika M" <mika.mahonen@nospam_kolumbus.fi> schrieb:
Simple question: Does Framework (1.1) contain any routine to check entered
email-address is valid ?
No.
It's quite easy to make own code for that purpose


Are you sure?!

Parsing Email Addresses using an RFC822 Compliant Address Validator
<URL:http://www.codeproject.com/csharp/RFC822Validator.asp>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #3
Dim regValidEmail As New
System.Text.RegularExpressions.Regex("^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$")

If Not regValidEmail.IsMatch(VariableChecked) Then
MsgBox("That is incorrect. The Packers will win the super
bowl.")
End If

"Mika M" <mika.mahonen@nospam_kolumbus.fi> wrote in message
news:OC**************@TK2MSFTNGP09.phx.gbl:
Simple question: Does Framework (1.1) contain any routine to check entered

email-address is valid ?

It's quite easy to make own code for that purpose, but why to do if
Framework (1.1) contain this kind of routine.


Nov 21 '05 #4
| > It's quite easy to make own code for that purpose
|
| Are you sure?!

don't be a smart-ass herf! is it quite easy to validate email addresses no
matter what rfc you design your code after...and, 822 is the simplest. you
could have at least chosen a harder one to support your smugness.

why are you an "mvp"?
Nov 21 '05 #5
good attempt but not fully rfc compliant...doesn't handle:

joe blow <jb***@abc.com>
"super dave osborne"@abc.com
sn************@abc.com

etc., etc., etc.
Nov 21 '05 #6
Dim regValidEmail As New
System.Text.RegularExpressions.Regex("^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$")

If Not regValidEmail.IsMatch(VariableChecked) Then
MsgBox("That is incorrect. The Packers will win the super
bowl.")
End If

"Mika M" <mika.mahonen@nospam_kolumbus.fi> wrote in message
news:OC**************@TK2MSFTNGP09.phx.gbl:
Simple question: Does Framework (1.1) contain any routine to check entered

email-address is valid ?

It's quite easy to make own code for that purpose, but why to do if
Framework (1.1) contain this kind of routine.


Nov 21 '05 #7
| > It's quite easy to make own code for that purpose
|
| Are you sure?!

don't be a smart-ass herf! is it quite easy to validate email addresses no
matter what rfc you design your code after...and, 822 is the simplest. you
could have at least chosen a harder one to support your smugness.

why are you an "mvp"?
Nov 21 '05 #8
good attempt but not fully rfc compliant...doesn't handle:

joe blow <jb***@abc.com>
"super dave osborne"@abc.com
sn************@abc.com

etc., etc., etc.
Nov 21 '05 #9
"steve" <a@b.com> schrieb:
| > It's quite easy to make own code for that purpose
|
| Are you sure?!

don't be a smart-ass herf! is it quite easy to validate email addresses no
matter what rfc you design your code after...
Well, I would not consider writing the regular expression for RFC compliant
email address validation an "easy" job:

<URL:http://groups.google.de/groups?selm=...TK2MSFTNGP12.p
hx.gbl>
and, 822 is the simplest. you could have at least chosen a harder
one to support your smugness.


?!?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #10
"steve" <a@b.com> schrieb:
| > It's quite easy to make own code for that purpose
|
| Are you sure?!

don't be a smart-ass herf! is it quite easy to validate email addresses no
matter what rfc you design your code after...
Well, I would not consider writing the regular expression for RFC compliant
email address validation an "easy" job:

<URL:http://groups.google.de/groups?selm=...TK2MSFTNGP12.p
hx.gbl>
and, 822 is the simplest. you could have at least chosen a harder
one to support your smugness.


?!?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #11
What did not "handle"?

"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
good attempt but not fully rfc compliant...doesn't handle:

joe blow <jb***@abc.com>
"super dave osborne"@abc.com
sn************@abc.com

etc., etc., etc.


Nov 21 '05 #12
Ok I would like to see your solution please.
"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
good attempt but not fully rfc compliant...doesn't handle:

joe blow <jb***@abc.com>
"super dave osborne"@abc.com
sn************@abc.com

etc., etc., etc.


Nov 21 '05 #13
What did not "handle"?

"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
good attempt but not fully rfc compliant...doesn't handle:

joe blow <jb***@abc.com>
"super dave osborne"@abc.com
sn************@abc.com

etc., etc., etc.


Nov 21 '05 #14
Why aren't you an MVP?

Why are you dumping on Herfried?

"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
| > It's quite easy to make own code for that purpose
|
| Are you sure?!

don't be a smart-ass herf! is it quite easy to validate email addresses no

matter what rfc you design your code after...and, 822 is the simplest. you

could have at least chosen a harder one to support your smugness.

why are you an "mvp"?


Nov 21 '05 #15
Ok I would like to see your solution please.
"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
good attempt but not fully rfc compliant...doesn't handle:

joe blow <jb***@abc.com>
"super dave osborne"@abc.com
sn************@abc.com

etc., etc., etc.


Nov 21 '05 #16
Why aren't you an MVP?

Why are you dumping on Herfried?

"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
| > It's quite easy to make own code for that purpose
|
| Are you sure?!

don't be a smart-ass herf! is it quite easy to validate email addresses no

matter what rfc you design your code after...and, 822 is the simplest. you

could have at least chosen a harder one to support your smugness.

why are you an "mvp"?


Nov 21 '05 #17
| What did not "handle"?

| "steve" <a@b.com> wrote

| > joe blow <jb***@abc.com>
| > "super dave osborne"@abc.com
| > sn************@abc.com

doesn't handle those cases.
Nov 21 '05 #18
| What did not "handle"?

| "steve" <a@b.com> wrote

| > joe blow <jb***@abc.com>
| > "super dave osborne"@abc.com
| > sn************@abc.com

doesn't handle those cases.
Nov 21 '05 #19
<in-line>

"scorpion53061" <ad***@nospamherekjmsolutions.com> wrote

| Ok I would like to see your solution please.
^((?>[a-zA-Z\d!#$%&'*+\-/=?^_`{|}~]+\x20*|"((?=[\x01-\x7f])[^"\\]|\\[\x01-\x7f])*"\x20*)*(?<angle><))?((?!\.)(?>\.?[a-zA-Z\d!#$%&'*+\-/=?^_`{|}~]+)+|"((?=[\x01-\x7f])[^"\\]|\\[\x01-\x7f])*")@(((?!-)[a-zA-Z\d\-]+(?<!-)\.)+[a-zA-Z]{2,}|\[(((?(?<!\[)\.)(25[0-5]|2[0-4]\d|[01]?\d?\d)){4}|[a-zA-Z\d\-]*[a-zA-Z\d]:((?=[\x01-\x7f])[^\\\[\]]|\\[\x01-\x7f])+)\])(?(angle)>)$

not mine but one i have decided to use b/c it supports a more current email
rfc than the one i had made.
Nov 21 '05 #20
<in-line>

"scorpion53061" <ad***@nospamherekjmsolutions.com> wrote

| Ok I would like to see your solution please.
^((?>[a-zA-Z\d!#$%&'*+\-/=?^_`{|}~]+\x20*|"((?=[\x01-\x7f])[^"\\]|\\[\x01-\x7f])*"\x20*)*(?<angle><))?((?!\.)(?>\.?[a-zA-Z\d!#$%&'*+\-/=?^_`{|}~]+)+|"((?=[\x01-\x7f])[^"\\]|\\[\x01-\x7f])*")@(((?!-)[a-zA-Z\d\-]+(?<!-)\.)+[a-zA-Z]{2,}|\[(((?(?<!\[)\.)(25[0-5]|2[0-4]\d|[01]?\d?\d)){4}|[a-zA-Z\d\-]*[a-zA-Z\d]:((?=[\x01-\x7f])[^\\\[\]]|\\[\x01-\x7f])+)\])(?(angle)>)$

not mine but one i have decided to use b/c it supports a more current email
rfc than the one i had made.
Nov 21 '05 #21
<in-line>

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote

| Well, I would not consider writing the regular expression for RFC
compliant
| email address validation an "easy" job:

then you don't know regular expressions nor the rfc.

|
<URL:http://groups.google.de/groups?selm=...TK2MSFTNGP12.p
| hx.gbl>

anyone who claims absolution of solution should only be considered wrong!
"This is the one and only RFC-822-compliant regex" that's a moronic
statement! as is the regular expression provided in that url.

| > and, 822 is the simplest. you could have at least chosen a harder
| > one to support your smugness.
|
| ?!?

2846 for example herf! apparently neither the email address rfc's nor
regular expressions are your strong-suit. were you not aware that there was
more than one rfc?
Nov 21 '05 #22
<in-line>

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote

| Well, I would not consider writing the regular expression for RFC
compliant
| email address validation an "easy" job:

then you don't know regular expressions nor the rfc.

|
<URL:http://groups.google.de/groups?selm=...TK2MSFTNGP12.p
| hx.gbl>

anyone who claims absolution of solution should only be considered wrong!
"This is the one and only RFC-822-compliant regex" that's a moronic
statement! as is the regular expression provided in that url.

| > and, 822 is the simplest. you could have at least chosen a harder
| > one to support your smugness.
|
| ?!?

2846 for example herf! apparently neither the email address rfc's nor
regular expressions are your strong-suit. were you not aware that there was
more than one rfc?
Nov 21 '05 #23
<in-line>

"scorpion53061" <ad***@nospamherekjmsolutions.com> wrote

| Why aren't you an MVP?

i actually work for a living. ;^)

| Why are you dumping on Herfried?

herf *never* demonstrates a command for the language he is "mvp-ing". his
retort relies on posting url's to other people's bodies of work...and those
url's rarely directly answer anyone's questions. and just as rarely, his own
code actually does apply, is efficient, and works!

i guess his original reply finally pushed me to say something.
Nov 21 '05 #24

"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
<in-line>

"scorpion53061" <ad***@nospamherekjmsolutions.com> wrote

| Why aren't you an MVP?

i actually work for a living. ;^)


Please post a link(s) pointing to articles you have written, code
samples put together, what you have given back to the community. I am
interested because I have not seen references to your work before as I
have the regulars here and it appears you are quite knowledgeable.

I understand what you are saying about "working for a living". I do too.
I wish I had more time to contribute, help and even more time to learn.
Because it is all to rare now that I have the time to learn new things.
Deadlines, Deadlines, Deadlines.......
Nov 21 '05 #25
"steve" <a@b.com> schrieb:
| Well, I would not consider writing the regular expression for RFC
compliant
| email address validation an "easy" job:

then you don't know regular expressions nor the rfc.


*PLONK*

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #26
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote

| *PLONK*

"plonk"...now that's funny! i've been plonking you for years. it's just that
sometimes i find that i can't contain myself in response to some of your
usual brand of stupidity. your response, in typical herf fashion, to this
op's question being a prime example. ignore me all you want. it really
doesn't matter as i would throw out any response you would offer to a
question of mine as simply not viable or not applicable.

"plonk"...that is funny!
Nov 21 '05 #27
| Please post a link(s) pointing to articles you have written, code
| samples put together, what you have given back to the community. I am
| interested because I have not seen references to your work before as I
| have the regulars here and it appears you are quite knowledgeable.

wish i had the time to write articles and publish (for reading) code. i
don't. my contributions to community are offered in programming, teaching
programming, and hiring people with interests therein and helping them along
with their careers...including hiring some of them. if you're testing the
waters to find somthing of mine to pick apart, i'll not be providing such
opportunities. however, i'm still learning the "new-to-me" nuances of a
truly more oop language. at the same time though, i am very good at what i
do...i simply don't know everything...yet.

most importantly, i don't address posts here that i don't feel i can help in
providing an answer that works. as far as herf goes, he's been an mvp here
since this group's inception. i ask you to simply compare his responses to
say, harlow's (mvp too), or even cor (not mvp). this comparison should lead
you to ask the question, "why is herf an mvp?"

anyway, that's enough of this. you jumped in to defend someone and that's
fine. just know that it's my issue and no one elses. herf just get's called
on it every once in a while when i can't stand it any longer.

cheers.
Nov 21 '05 #28
i
don't. my contributions to community are offered in programming, teaching

programming, and hiring people with interests therein and helping them
along
with their careers...including hiring some of them.
Hey now you got my attention!! What postitions are you hiring for? :) If
you need contract work I am all ears....

if you're testing the
waters to find somthing of mine to pick apart, i'll not be providing such

opportunities.
Why would I want to pick you apart? I am seeking information about what
it is you do, your skill level and such. There are times when I look for
help and it is nice to know who the experts are in the various related
fields.

however, i'm still learning the "new-to-me" nuances of a truly more oop language. at the same time though, i am very good at what i

do...i simply don't know everything...yet.
Nobody knows everything. Ken Tucker rules when it comes to datagrids, I
am good at Office automation, Jay is the guy when it comes to Outlook,
Bill Ryan does just about everything but he learns as well. The point is
that is how we get better is by learning from each other. Especially
when it comes to .NET when schools and such have been very slow to adopt
teaching it.

most importantly, i don't address posts here that i don't feel i can help
in
providing an answer that works.
Point taken. Sometimes though an answer that gets a person started is
just as helpful. I know what you mean though. Sometimes people post
answers that are not all that helpful.

as far as herf goes, he's been an mvp here
since this group's inception. i ask you to simply compare his responses to

say, harlow's (mvp too), or even cor (not mvp). this comparison should
lead
you to ask the question, "why is herf an mvp?"
My interest in this thread has gone beyond Herf but is more interested
in knowing what you do and what your specialities are. No harm intended
to you. The fact you took on Herfried is pretty gutsy as everyone I have
ever known in this group has for the most part thought of Herfried as a
genius. Of course he is 16 or maybe 18 now and working at a University
so they may not be too far off. Of course when I was 16-18 I was a bit
anyway, that's enough of this. you jumped in to defend someone and that's

fine. just know that it's my issue and no one elses. herf just get's
called
on it every once in a while when i can't stand it any longer.

cheers.

You too. Hope you keep hanging around so the rest of us can benefit from
your knowledge and maybe you will learn things too.
Nov 21 '05 #29
| Hey now you got my attention!! What postitions are you hiring for? :) If
| you need contract work I am all ears....

we are thinking about hiring another vb.net guy to help me out...there's a
lot of stuff to do. i would not be your hiring manager for this position but
would be your project manager. the company is "progress rail services" based
in alabama. as i live in texas, they obviously don't have hang-ups about
working remotely as long as you maintain their trust in managing your time.
it provides various services to railroads like bnsf, ttx, etc.

the current project involves standard and compact .net framework development
for collecting/validating/synchronizing data from out in the field on up to
a central server. i don't know you or i would get you on fairly
quickly...for now, i'd just get in contact with the it department via
http://www.progressrail.com .

| Why would I want to pick you apart? I am seeking information about what
| it is you do, your skill level and such. There are times when I look for
| help and it is nice to know who the experts are in the various related
| fields.

most logical assumption. when defending a kettle, it is often best to start
by showing the pot its own color.

| Point taken. Sometimes though an answer that gets a person started is
| just as helpful. I know what you mean though. Sometimes people post
| answers that are not all that helpful.

true, but this is herf's modus apparandai.

| My interest in this thread has gone beyond Herf but is more interested
| in knowing what you do and what your specialities are. No harm intended
| to you. The fact you took on Herfried is pretty gutsy as everyone I have
| ever known in this group has for the most part thought of Herfried as a
| genius. Of course he is 16 or maybe 18 now and working at a University
| so they may not be too far off. Of course when I was 16-18 I was a bit

i do whatever needs to be accomplished and have thus far gone nearly run the
gammut. not gutsy...just not naive nor unexperienced...herf is no genius and
i've seen no supportive information to the contrary. and, there are plenty
of other who share my sentiments on that issue...we just speak out on rare
occasions.
Nov 21 '05 #30
>> Simple question: Does Framework (1.1) contain any routine to check
entered
email-address is valid ?


No.
It's quite easy to make own code for that purpose


Are you sure?!

Parsing Email Addresses using an RFC822 Compliant Address Validator
<URL:http://www.codeproject.com/csharp/RFC822Validator.asp>


Well... I mean making my own function for checking that email address looks
like correct returning true or false, but may not be really existing
email-address anyway. Function might check for example one '@' sign exists
somewhere in the middle of address, and after that is at least one dot but
not as a last character... and so on... :)

Ofcourse user's own sense is needed with this. I have to think this more...

Regular expressions are too terrible to use!
--
Mika
Nov 21 '05 #31
| Well... I mean making my own function for checking that email address
looks
| like correct returning true or false, but may not be really existing
| email-address anyway. Function might check for example one '@' sign exists
| somewhere in the middle of address, and after that is at least one dot but
| not as a last character... and so on... :)

no, you can't know if the user account actually exists but there are
standards (rfc 2822 for example) that let you know if the address supplied
conforms to a valid address. i doubt you've explored the rfcs at all based
on your "and so on..." naive explanation of what your function might do.
there are a lot more rules than that!

| Ofcourse user's own sense is needed with this. I have to think this
more...

no, this is not subjective validation. there are specific rules applied to
internet communication including the format of an email address. one's "own
sense" should be used in creating a function that follows these rules when
validating information that is preported to be an email address.

| Regular expressions are too terrible to use!

apply "i have to think this more..." to "regular expressions are too
terrible to use!". people who damn regular expressions simply don't know how
to use them much less write them...statements made from ignorance. if you
can show me an rfc compliant email validation function that you or anyone
else wrote that is shorter, quicker, or more maintainable than the two
regular expressions given in response to the op's question, i'll gladly shut
up. until then, keep you non-sensical, inexperienced opinions to
yourself...especially when the truth of the matter is not "regular
expressions are too terrible to use" but more likely that "you are too
terrible at using regular expressions"!
Nov 21 '05 #32
Oh wow man.......

"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
| Well... I mean making my own function for checking that email address
looks
| like correct returning true or false, but may not be really existing
| email-address anyway. Function might check for example one '@' sign
exists
| somewhere in the middle of address, and after that is at least one dot
but
| not as a last character... and so on... :)

no, you can't know if the user account actually exists but there are
standards (rfc 2822 for example) that let you know if the address supplied

conforms to a valid address. i doubt you've explored the rfcs at all based

on your "and so on..." naive explanation of what your function might do.

there are a lot more rules than that!

| Ofcourse user's own sense is needed with this. I have to think this
more...

no, this is not subjective validation. there are specific rules applied to

internet communication including the format of an email address. one's
"own
sense" should be used in creating a function that follows these rules when

validating information that is preported to be an email address.

| Regular expressions are too terrible to use!

apply "i have to think this more..." to "regular expressions are too
terrible to use!". people who damn regular expressions simply don't know
how
to use them much less write them...statements made from ignorance. if you

can show me an rfc compliant email validation function that you or anyone

else wrote that is shorter, quicker, or more maintainable than the two
regular expressions given in response to the op's question, i'll gladly
shut
up. until then, keep you non-sensical, inexperienced opinions to
yourself...especially when the truth of the matter is not "regular
expressions are too terrible to use" but more likely that "you are too
terrible at using regular expressions"!


Nov 21 '05 #33
Steve,

I sent a message on your web site. I am not sure where it ended up or
who the form went to.

Fact is you probably need someone better than me but hey it cant hurt to
try.

"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
| Hey now you got my attention!! What postitions are you hiring for? :)
If
| you need contract work I am all ears....

we are thinking about hiring another vb.net guy to help me out...there's a

lot of stuff to do. i would not be your hiring manager for this position
but
would be your project manager. the company is "progress rail services"
based
in alabama. as i live in texas, they obviously don't have hang-ups about

working remotely as long as you maintain their trust in managing your
time.
it provides various services to railroads like bnsf, ttx, etc.

the current project involves standard and compact .net framework
development
for collecting/validating/synchronizing data from out in the field on up
to
a central server. i don't know you or i would get you on fairly
quickly...for now, i'd just get in contact with the it department via
http://www.progressrail.com .

| Why would I want to pick you apart? I am seeking information about
what
| it is you do, your skill level and such. There are times when I look
for
| help and it is nice to know who the experts are in the various related
| fields.

most logical assumption. when defending a kettle, it is often best to
start
by showing the pot its own color.

| Point taken. Sometimes though an answer that gets a person started is
| just as helpful. I know what you mean though. Sometimes people post
| answers that are not all that helpful.

true, but this is herf's modus apparandai.

| My interest in this thread has gone beyond Herf but is more interested
| in knowing what you do and what your specialities are. No harm
intended
| to you. The fact you took on Herfried is pretty gutsy as everyone I
have
| ever known in this group has for the most part thought of Herfried as
a
| genius. Of course he is 16 or maybe 18 now and working at a University
| so they may not be too far off. Of course when I was 16-18 I was a bit

i do whatever needs to be accomplished and have thus far gone nearly run
the
gammut. not gutsy...just not naive nor unexperienced...herf is no genius
and
i've seen no supportive information to the contrary. and, there are plenty

of other who share my sentiments on that issue...we just speak out on rare

occasions.


Nov 21 '05 #34
a bit over-the-top...but you see how oppinions of "professionals" have
rippling effects as seen by the op's change in attitude about regex as a
viable option for validating email address patterns. that's probably why i
came on so strong when herf posted his original non-sense.

oh well, challenge still stands. ;^)
"scorpion53061" <ad***@nospamherekjmsolutions.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
| Oh wow man.......
|
|
|
| "steve" <a@b.com> wrote in message
| news:10*************@corp.supernews.com:
| > | Well... I mean making my own function for checking that email address
| > looks
| > | like correct returning true or false, but may not be really existing
| > | email-address anyway. Function might check for example one '@' sign
| > exists
| > | somewhere in the middle of address, and after that is at least one dot
| > but
| > | not as a last character... and so on... :)
| >
| > no, you can't know if the user account actually exists but there are
| > standards (rfc 2822 for example) that let you know if the address
supplied
| >
| > conforms to a valid address. i doubt you've explored the rfcs at all
based
| >
| > on your "and so on..." naive explanation of what your function might do.
| >
| > there are a lot more rules than that!
| >
| > | Ofcourse user's own sense is needed with this. I have to think this
| > more...
| >
| > no, this is not subjective validation. there are specific rules applied
to
| >
| > internet communication including the format of an email address. one's
| > "own
| > sense" should be used in creating a function that follows these rules
when
| >
| > validating information that is preported to be an email address.
| >
| > | Regular expressions are too terrible to use!
| >
| > apply "i have to think this more..." to "regular expressions are too
| > terrible to use!". people who damn regular expressions simply don't know
| > how
| > to use them much less write them...statements made from ignorance. if
you
| >
| > can show me an rfc compliant email validation function that you or
anyone
| >
| > else wrote that is shorter, quicker, or more maintainable than the two
| > regular expressions given in response to the op's question, i'll gladly
| > shut
| > up. until then, keep you non-sensical, inexperienced opinions to
| > yourself...especially when the truth of the matter is not "regular
| > expressions are too terrible to use" but more likely that "you are too
| > terrible at using regular expressions"!
|
Nov 21 '05 #35
| I sent a message on your web site. I am not sure where it ended up or
| who the form went to.
|
| Fact is you probably need someone better than me but hey it cant hurt to
| try.

well, actually all three projects have very similar aims and requirements.
there's a bunch of touch-screen stuff, web services, and db work involved.
i've built all of the touch-screen controls already (list boxes,
combo-boxes, software keyboard, etc.), so you wouldn't have to re-do that.
i've also got the interfaces for the object model built as well as all of
the server synchronization objects...blah, blah, blah. anyway, all you'd
really be doing would be taking an existing project and modifying it a tad
in order to collect, validate, and ship data.

btw, it went to personnel and will make its way to the it department in
short-order.

cheers.
Nov 21 '05 #36

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

Similar topics

0
by: chepiok | last post by:
I've a site with logged users. These users have an associated email adresses stored when they create their account. They can send email between themselves using a dedicated form with email() PHP...
88
by: Mike | last post by:
Is there a way to determine what a user's default email client is? I read a post from 3 years ago that said no. I guess I'm hoping something has come along since then.
2
by: Saintor | last post by:
I have a string of email addresses with duplicates. like "abc@abc.com; cde@cde.com; abc@abc.com" If I use this string with sendobject, the receiver will get it only once which is perfect to...
5
by: Das | last post by:
Hi, I'm trying to email html page & that page also contains the images. I can do that when we send html page from ms outlook. But I want to attach page c# code & send the mail through smtp mail....
3
by: Erik Johnson | last post by:
THE GOAL: I need to send an email with a simple ASCII text body and an attached HTML file. I have scripts that send basic emails via the smtplib module that don't have any attachements and that...
0
by: Nico Grubert | last post by:
Hi there, I wrote a short python script that sends an email using python's email module and I am using Python 2.3.5. The problem is, that umlauts are not displayed properly in some email...
15
by: Craig Hurley | last post by:
Hello, user@x.com receives an email from user@a.com. I want to forward that email to user@y.com. I want the contents/header to remain intact, with the exception of adding "X-Forwarded-For". ...
3
by: IGD | last post by:
I don't know if this is the right place to post this or not. If not, could someone direct me elsewhere where I would find more information on how to solve my problem? Thanks! My problem is this:...
2
by: ssmeshack | last post by:
Hai there, I have doing php code for form data to be send to email. But it is showing... Here is my code for html form... <body>
27
matheussousuke
by: matheussousuke | last post by:
I'm having trouble with e-mail sending, I mean, the website is suposed to send a confirmation email after sign up, but it gets like text plain instead of HTML May someone help me, please? ...
0
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...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.