#18: implement SMTP Submission (587/465), SASL PLAIN/LOGIN auth and preflight diagnostics
This commit is contained in:
1 parent
7249419efc
commit
d56f29d084
70 files changed
+5163
-659
No files matched your search
@@ -11,9 +11,9 @@ type DomainName struct {
|
||||
}
|
||||
|
||||
var (
|
||||
ErrDomainNameEmpty = errors.New("domain name: must not be empty")
|
||||
ErrDomainNameNotFQDN = errors.New("domain name: must contain at least one dot (not a FQDN)")
|
||||
ErrDomainNameInvalidLabel = errors.New("domain name: label must not start or end with a hyphen")
|
||||
ErrDomainNameEmpty = errors.New("domain name: must not be empty")
|
||||
ErrDomainNameNotFQDN = errors.New("domain name: must contain at least one dot (not a FQDN)")
|
||||
ErrDomainNameInvalidLabel = errors.New("domain name: label must not start or end with a hyphen")
|
||||
)
|
||||
|
||||
// NewDomainName validates and normalizes raw into a DomainName.
|
||||
|
||||
Reference in new issue
Block a user