Re: Email-address validation
>> Simple question: Does Framework (1.1) contain any routine to check[color=blue][color=green]
>> entered
>> email-address is valid ?[/color]
>
> No.
>[color=green]
>> It's quite easy to make own code for that purpose[/color]
>
> Are you sure?!
>
> Parsing Email Addresses using an RFC822 Compliant Address Validator
> <URL:http://www.codeproject .com/csharp/RFC822Validator .asp>[/color]
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
>> Simple question: Does Framework (1.1) contain any routine to check[color=blue][color=green]
>> entered
>> email-address is valid ?[/color]
>
> No.
>[color=green]
>> It's quite easy to make own code for that purpose[/color]
>
> Are you sure?!
>
> Parsing Email Addresses using an RFC822 Compliant Address Validator
> <URL:http://www.codeproject .com/csharp/RFC822Validator .asp>[/color]
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
Comment