mirror of
https://github.com/emersion/go-imap
synced 2026-07-01 07:48:52 +00:00
v2
The following error (split here into multiple lines for readability):
in response: cannot read tag:
read tcp 192.168.2.3:51198->185.97.174.199:993:
read: connection reset by peer
Does not match the following condition:
errors.Is(err, syscall.ECONNRESET)
Calls to fmt.Errorf use `%v`, which embeds the inner error's string
representation, without wrapping the inner error.
Use `%w` instead, to wrap the inner error, enabling usages such as the
example above.
go-imap
An IMAP4rev2 library for Go.
Note
This is the README for go-imap v2. This new major version is still in development. For go-imap v1, see the v1 branch.
Usage
To add go-imap to your project, run:
go get github.com/emersion/go-imap/v2
Documentation and examples for the module are available here:
License
MIT
Languages
Go
100%