Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of mock valid/invalid Email Addresses for Unit Tests

Does anyone know of a list of email addresses (which don’t need to be real) I can use for an email validation assembly for a unit test?

I’ve been looking for such a list and can’t seem to find one. I’m not looking for real addresses, just ones that fit, and the more things I can throw at the test the better. I’ve got 10 right now, but if there is a list, it would give me a more thorough test.

like image 899
michael Avatar asked Oct 03 '11 21:10

michael


People also ask

What is a valid and invalid email address?

Valid email addresses belong to an active recipient who is consistently engaging with your content, adding value to your marketing campaigns. A valid email address holds the correct format and belongs to an email domain. Invalid email addresses belong to inactive recipients who don't engage with your content.

How do you check the email is valid or invalid?

Enter an email address below to check in real-time if it's real, using our free online email validator. We'll let you know if it's properly formatted and verify that its mailbox exists and is able to receive mail. We'll get you a detailed response without ever sending an email!

What are invalid emails?

An invalid email occurs when you attempt to send email to an address that is formatted in a manner that does not meet internet email format standards or the email does not exist at the recipient's mail server.


1 Answers

I believe you were looking for something like this:

List of Valid and Invalid Email Addresses

like image 94
KonstantinK Avatar answered Oct 02 '22 15:10

KonstantinK