go-smtp
go-smtp copied to clipboard
Replace Server.Enable* with backend Features() method
type Feature int
const (
FeatureSMTPUTF8 = 1<<iota
FeatureREQUIRETLS
FeatureBINARYMIME
)
// ...
type Backend interface {
// ...
Features() Feature
}