go-smtp icon indicating copy to clipboard operation
go-smtp copied to clipboard

Replace Server.Enable* with backend Features() method

Open foxcpp opened this issue 5 years ago • 0 comments

type Feature int
const (
   FeatureSMTPUTF8 = 1<<iota
   FeatureREQUIRETLS
   FeatureBINARYMIME
)

// ...
type Backend interface {
  // ...
  Features() Feature
}

foxcpp avatar Jun 23 '20 18:06 foxcpp