When you create an (Outlook) email, how does the software know to underline the email address, as if it knows already if it a valid email address or not? What’s up with this? And, if it won’t underline it, then Outlook won’t send it, correct?
It recognizes the “pattern” of an email address. My WAG is that it looks for a character string containing “@”, along with a couple of other things, like no spaces and a .something at the end of the string. It doesn’t know whether it’s a “valid” address (meaning one that really belongs to somebody).
What do you mean by “underline the email address”? Do you mean when you type an email address in the body of your email message? If so, Outllok just looks for the pattern A@B.C and assumes that anything of that form is an email address.
Some experimentation reveals the pattern it is looking for is string1**@**string2, where string1 and string2 do not contain any @ signs. If there is a trailing @ on the pattern, it underlines the previous part but not the @ sign.
It finds a match in your Address book and hence underlines it.
Outlook cannot determine whether an email address is a valid email address or not. It can just recognize, through some algorithm, that it is in the form of an email address.
The algorithm is most probably based on the basic rule that an email address contains some characters followed by an @ sign followed by some more characters followed by a dot followed by some more characters. Which means dadasd@asdasda is obviously not a valid email address according to Outlook because it’s missing the dot and some characters following the dot.
But if you send an email address to, say, asdasdas@asdasda.com Outlook would send the email, but the email would most likely be bounced by the mail server as an invalid email address.
As an example, on preview, even the message board software assumes that asdasdas@asdasda.com is a valid email address for its purposes.