On Friday, 9 February 2018 at 14:19:56 UTC, bauss wrote:
Generally the best way to validate an email is just to check if
there is a value before @ and a value after.
The real way to validate an email is to check if the email
exists on a SMTP server, BUT some SMTP servers will not provide
such information (Such as gmail I think?) and thus you can't
really rely on that either.
+1.
If anyone wants to do email validation this should be read first:
https://hackernoon.com/the-100-correct-way-to-validate-email-addresses-7c4818f24643