emersion / go-smtp

📤 An SMTP client & server library written in Go
MIT License
1.72k stars 216 forks source link

server: redesign AUTH interface #254

Closed emersion closed 6 months ago

emersion commented 6 months ago

Session.AuthPlain is removed and replaced with a separate AuthSession interface.

emersion commented 6 months ago

Facepalm, I completely forgot that I already wrote the exact same patch before: https://github.com/emersion/go-smtp/pull/251