VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Validate Email Address to RFC2821 and RFC2822

by Ken Ashton (4 Submissions)
Category: VB function enhancement
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

Having failed to find anything similar, this function validates an email address. It takes into consideration the RFC2821 and RFC2822 rules and also the the limitations imposed by other systems in the real world, that often conflict with RFC's.

Inputs
Any email address requiring format validation
Assumes
This was written because I failed to find any similar validator that was not flawed in some serious way, even for general use. Any PSC user is welcome to use, improve, speed up, remove unwanted features, and/or modify the code as they wish for their own purposes.
Code Returns
Returns True of False, and has an option that allows the user to intercept and decide on the validity of a questionable emai address at run time.
Side Effects
If used in the extended 'allow ALL legal RFC characters, then 'Quoted text' is not checked.

Rate Validate Email Address to RFC2821 and RFC2822

Download Validate Email Address to RFC2821 and RFC2822

Download Validate Email Address to RFC2821 and RFC2822 (3 KB)

Validate Email Address to RFC2821 and RFC2822 Comments

No comments have been posted about Validate Email Address to RFC2821 and RFC2822. Why not be the first to post a comment about Validate Email Address to RFC2821 and RFC2822.

Post your comment

Subject:
Message:
0/1000 characters