Wednesday, 3 April 2013

Email Format Testcases

Valid email format case

 

email@domain.com
(Username char max 64) and (domain suffix min 4)
email@domain.com
(Username char max 64) and (domain suffix max 255)
firstname.lastname@domain.com
email@subdomain.domain.com
firstname+lastname@domain.com
email@Domain IP address
email@Domain IP address(in square brackets)
Numeric@domain.com
Alphanumeric@domain.com
email@domain-one.com(Dash in domain name)
a_b@domain.com(underscore in username)
email@Domain IP address.com (ip's as domain but followed by the .com/co.uk/co.in/co.au/')




Invalid email format cases

 

email@domain,com
 @domain.com
<spaces>@domain.com
Email@domain.com (minimum characters less than 6)
 @ and . Missing
email@domain.com (Ascii chars other than 33 to 47)
email<@domain.com> (encoded html)
email.domain.com (Missing @)
email@domain@domain.com (Two @ sign)
 .email@domain.com (Leading dot in address)
 email.@domain.com (Trailing dot in address)
 email@domain.com(text) (Text followed email)