go-smtp
go-smtp copied to clipboard
Add client and server support for SMTP DSN extension
Breaking change since it changes Client.Rcpt and Session.Rcpt signature.
Closes #32.
Do you have plans to add basic test cases for these new features?
Do you have plans to add basic test cases for these new features?
Yeah, they should be added.
Hi,
I just wrote a DSN extension also: https://github.com/emersion/go-smtp/compare/v0.18.0...ikedas:go-smtp:dsn_extension
I think my code is better in the following respects:
- It includes the fix for PR #232 (conversely, this should be merged first).
- Takes into account the case where SMTPUTF8 extension is enabled (update by RFC6533).
- Doesn't include breaking changes to currect release.
Should I submit a separate PR?
Please feel free to submit a new PR, yeah.
Do note that we can still do breaking changes to our API if we feel that they are worth it.
Superseded by #233