github.com/emersion/go-smtp
v0.25.0
#1095 most downloaded on Go modules
emersion/go-smtp
What this package is like to depend on
Last release 6 days ago
18 Aug 2026
Ships unpredictably
gaps range from 1 weeks to 12 months
Some releases are documented
notes for 10 of 26 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
338 releases · first in 2014
5 releases in the last 12 months
see the full history below
Release timeline
338 releases · Sep 2014 to Aug 2026Releases
latest 60 of 338-
v0.25.1-0.20260818080146-8d5af0d9db3a18 Aug 2026 pre-releaseNothing published for this version
-
v0.25.013 Aug 2026Release notes
Open source →go-smtp v0.25.0
Arnt Gulbrandsen (1):
client: Autodetect need for SMTPUTF8, and use itHNO3Miracle (1):
client: pass authentication commands as dataIain (1):
server: restore line limit when a BDAT transaction is resetlatent-9 (1):
Fix typo in comment -
v0.24.1-0.20260723171411-f02fdf9cb6b323 Jul 2026 pre-releaseNothing published for this version
-
v0.24.1-0.20260630122729-24034bd94c5830 Jun 2026 pre-releaseNothing published for this version
-
v0.24.008 Jul 2025Release notes
Open source →go-smtp v0.24.0
Martin Tournoij (1):
Remove superfluous validateLine() calls in sendMail()Quinn (1):
Implement MT-PRIORITY (RFC 6710) -
v0.23.1-0.20250708084311-ab24fe7cbe9908 Jul 2025 pre-releaseNothing published for this version
-
v0.23.1-0.20250706082104-6944e3381b8106 Jul 2025 pre-releaseNothing published for this version
-
v0.23.026 Jun 2025 -
v0.22.1-0.20250626081833-54dd31d837ee26 Jun 2025 pre-releaseNothing published for this version
-
v0.22.028 Apr 2025Release notes
Open source →go-smtp v0.22.0
Alex Tomlins (1):
Add checking for auth to Server exampleMathias Lieber (2):
client: allow manual Hello after Reset
server: reset session on EHLOQuinn (2):
server: handle newline characters in error messages
Implement RRVSSimon Ser (5):
backendutil: drop package
client: save greet error
readme: drop CI badge
Upgrade dependencies
client: introduce DataCommandtorikki (1):
Allow manual Hello after StartTLS -
v0.21.311 Jul 2024Release notes
Open source →go-smtp v0.21.3
Simon Ser (1):
client: save greet errortorikki (1):
Allow manual Hello after StartTLS -
v0.21.3-0.20250406183145-f9e8d241152506 Apr 2025 pre-releaseNothing published for this version
-
v0.21.3-0.20250329222002-e2dbc50453b429 Mar 2025 pre-releaseNothing published for this version
-
v0.21.3-0.20250316145203-b7d48ab8fafe16 Mar 2025 pre-releaseNothing published for this version
-
v0.21.3-0.20250316144905-8a5b0937d03016 Mar 2025 pre-releaseNothing published for this version
-
v0.21.3-0.20240907105428-c6c3019439a307 Sep 2024 pre-releaseNothing published for this version
-
v0.21.3-0.20240713135329-274020d0c87513 Jul 2024 pre-releaseNothing published for this version
-
v0.21.3-0.20240508064753-b63eede919d908 May 2024 pre-releaseNothing published for this version
-
v0.21.3-0.20240507153039-4b012427607807 May 2024 pre-releaseNothing published for this version
-
v0.21.225 Apr 2024Release notes
Open source →go-smtp v0.21.2
Mathias Lieber (1):
Add remote addr in error handler logSimon Ser (8):
server: fix failingListener data race in tests
server: fix TestServerAcceptErrorHandling data race
ci: switch to alpine/latest
ci: enable data race detector
ci: add gofmt check
client: fix server responses in TestClient_TooLongLine
client: add Client.readResponse helper
server: unify logic to decode SASL responsediogomr (1):
Do not use HELLO as fallback of EHLO when server responds with 421 -
v0.21.2-0.20240425110136-e74d8b31c0f425 Apr 2024 pre-releaseNothing published for this version
-
v0.21.2-0.20240424142444-170fe357715324 Apr 2024 pre-releaseNothing published for this version
-
v0.21.2-0.20240423115203-52a8bf5ae8dd23 Apr 2024 pre-releaseNothing published for this version
-
v0.21.2-0.20240418092635-5e727ac3edc718 Apr 2024 pre-releaseNothing published for this version
-
v0.21.2-0.20240417105918-50fb6610a8cd17 Apr 2024 pre-releaseNothing published for this version
-
v0.21.2-0.20240417105918-262ffd9abadd17 Apr 2024 pre-releaseNothing published for this version
-
v0.21.112 Apr 2024Release notes
Open source →go-smtp v0.21.1
Jason Friedland (1):
Update example server auth for AuthSession interface in 0.21.0 updateSimon Ser (5):
client: drop defaultTimeout constant
Rename SendMail PLAIN auth example
server: add Conn.writeError
server: rename toSMTPStatus to dataErrorToStatus
client: adjust TestClientAuthTrimSpace commentsalbertony (1):
Fix anonymous authentication with empty trace information string -
v0.21.1-0.20240408135306-ff8f3762e16b08 Apr 2024 pre-releaseNothing published for this version
-
v0.21.1-0.20240404154134-53172ad0b0d404 Apr 2024 pre-releaseNothing published for this version
-
v0.21.1-0.20240329104616-dd32c05f218429 Mar 2024 pre-releaseNothing published for this version
-
v0.21.028 Mar 2024Release notes
Open source →go-smtp v0.21.0
This release contains multiple breaking changes:
- Servers implementing Session.AuthPlain need to switch to AuthSession
- Server.AuthDisabled and Server.EnableAuth have been superseded by AuthSession
- Client.StartTLS has been superseded by DialStartTLS and NewClientStartTLSIKEDA Soji (1):
Server: The value of BODY parameter is case-insensitiveSimon Ser (18):
Add DialStartTLS
Unexport Client.StartTLS
De-duplicate SendMail/SendMailTLS
Fix tls.Config ignored in DialStartTLS
Add NewClientStartTLS
server: add LIMITS RCPTMAX support
client: add Client.MaxMessageSize
client: drop unnecessary nil check in Client.Extension
client: drop unused Client.auth
client: add Client.SupportsAuth
server: send error response on invalid AUTH initial response
server: drop Server.caps
Add BackendFunc
server: use Conn.authAllowed in handleAuth
server: replace EnableAuth with AuthSession
Disable AUTH when AuthSession.AuthMechanisms is empty
Drop Session.AuthPlain
Drop Server.AuthDisabled -
v0.20.3-0.20240323225503-a3cdc260e19623 Mar 2024 pre-releaseNothing published for this version
-
v0.20.3-0.20240321144711-b7d153a2c70b21 Mar 2024 pre-releaseNothing published for this version
-
v0.20.3-0.20240221101550-f7e2f0baee0d21 Feb 2024 pre-releaseNothing published for this version
-
v0.20.3-0.20240221095904-33fe6a605b1d21 Feb 2024 pre-releaseNothing published for this version
-
v0.20.3-0.20240207183129-ca4c342b0f0107 Feb 2024 pre-releaseNothing published for this version
-
v0.20.3-0.20240205133708-3fa14539343005 Feb 2024 pre-releaseNothing published for this version
-
v0.20.3-0.20240205133101-9f9ebe47d93205 Feb 2024 pre-releaseNothing published for this version
-
v0.20.221 Jan 2024Release notes
Open source →go-smtp v0.20.2
Simon Ser (1):
server: use netcat -C instead of telnet for example testingfox.cpp (2):
Fix Conn.Hostname being empty when NewSession is called
Parse DATA\r\n\r\n.\r\n as \r\n\r\n message -
v0.20.2-0.20240121112028-434ddca4792e21 Jan 2024 pre-releaseNothing published for this version
-
v0.20.2-0.20240121020115-df9dfa93d91921 Jan 2024 pre-releaseNothing published for this version
-
v0.20.2-0.20240112083023-da7af5074e4b12 Jan 2024 pre-releaseNothing published for this version
-
v0.20.105 Jan 2024Release notes
Open source →go-smtp v0.20.1
Mathias Lieber (1):
Prevent <LF>.<CR><LF> SMTP smuggling attacks -
v0.20.027 Dec 2023Nothing published for this version
-
v0.19.1-0.20231227132401-6ecbad7e0eb027 Dec 2023 pre-releaseNothing published for this version
-
v0.19.1-0.20231227130751-c28f5072e2f027 Dec 2023 pre-releaseNothing published for this version
-
v0.19.1-0.20231206145156-7c803aaf732306 Dec 2023 pre-releaseNothing published for this version
-
v0.19.1-0.20231206144511-0b88908fbbd806 Dec 2023 pre-releaseNothing published for this version
-
v0.19.1-0.20231127150136-eb017a81fc2727 Nov 2023 pre-releaseNothing published for this version
-
v0.19.1-0.20231127145429-29345f43917b27 Nov 2023 pre-releaseNothing published for this version
-
v0.19.1-0.20231116092413-ca1a567ba5d916 Nov 2023 pre-releaseNothing published for this version
-
v0.19.1-0.20231110093002-cd343525b3df10 Nov 2023 pre-releaseNothing published for this version
-
v0.19.1-0.20231110092646-33592d6f1f8310 Nov 2023 pre-releaseNothing published for this version
-
v0.19.009 Nov 2023Nothing published for this version
-
v0.18.2-0.20231103100225-a9f044746f8e03 Nov 2023 pre-releaseNothing published for this version
-
v0.18.2-0.20231103095928-35f5bb6bc30103 Nov 2023 pre-releaseNothing published for this version
-
v0.18.2-0.20231103092204-faeb4b1596e203 Nov 2023 pre-releaseNothing published for this version
-
v0.18.2-0.20231103092204-7ac0d7eb4f2a03 Nov 2023 pre-releaseNothing published for this version
-
v0.18.107 Sep 2023Nothing published for this version
-
v0.18.1-0.20230824060107-c43c4c3e1b6b24 Aug 2023 pre-releaseNothing published for this version