I have a console application that sends emails, but I am having a problem with my email source of haveing invalid email formats I.E. name@@yahoo.com, name@yahoo, nameyahoo.com.
I just need to validate the format is correct, being an console application there is no user input or enter action
here is my code
If chkVEmail(vEmail) = False Then
.To = "SUGARLANDSUPPLIERQUALITY@suntroncorp.com"
.Subject = "Vendor Email for " + strVen + " is formated wrong"
the ChkVEmail if where I will be validating the email (one name at a time)