mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-15 02:12:55 +01:00
Correct spelling errors in email validation comments
Fixed the spelling of "dot-separated" in comment explanations to ensure clarity. This makes the comments more accurate and easier to understand.
This commit is contained in:
parent
ad86c7ac4f
commit
79d4c6fd07
1 changed files with 2 additions and 2 deletions
|
@ -126,8 +126,8 @@ var (
|
||||||
{`" "@domain.tld`, true}, // Still valid, since quoted
|
{`" "@domain.tld`, true}, // Still valid, since quoted
|
||||||
{`"<\"@\".!#%$@domain.tld"`, false}, // Quoting with illegal characters is not allowed
|
{`"<\"@\".!#%$@domain.tld"`, false}, // Quoting with illegal characters is not allowed
|
||||||
{`<\"@\\".!#%$@domain.tld`, false}, // Still a bunch of random illegal characters
|
{`<\"@\\".!#%$@domain.tld`, false}, // Still a bunch of random illegal characters
|
||||||
{`hi"@"there@domain.tld`, false}, // Quotes must be dot-seperated
|
{`hi"@"there@domain.tld`, false}, // Quotes must be dot-separated
|
||||||
{`"<\"@\\".!.#%$@domain.tld`, false}, // Quote is escaped and dot-seperated which would be RFC822 compliant, but not RFC5322 compliant
|
{`"<\"@\\".!.#%$@domain.tld`, false}, // Quote is escaped and dot-separated which would be RFC822 compliant, but not RFC5322 compliant
|
||||||
{`hi\ there@domain.tld`, false}, // Spaces must be quoted
|
{`hi\ there@domain.tld`, false}, // Spaces must be quoted
|
||||||
{"hello@tld", true}, // TLD is enough
|
{"hello@tld", true}, // TLD is enough
|
||||||
{`你好@域名.顶级域名`, true}, // We speak RFC6532
|
{`你好@域名.顶级域名`, true}, // We speak RFC6532
|
||||||
|
|
Loading…
Reference in a new issue