go-imap
go-imap copied to clipboard
📥 An IMAP library for clients and servers
``` response.go:125:35: unnecessary conversion (unconvert) fields := []interface{}{RawString(tag)} ``` ``` read.go:82:38: unnecessary conversion (unconvert) nbr, err := strconv.ParseUint(string(s), 10, 32) ``` ``` status.go:97:49: unnecessary conversion (unconvert) if err := w.writeFields([]interface{}{RawString(tag),...
There's a [StatusResp](https://github.com/emersion/go-imap/blob/1bdc3f86477cd3fb5c7aa2047d40e45d4faa0f09/status.go#L61) defining the status response type and code as defined in [RFC 3501 section 7.1](https://tools.ietf.org/html/rfc3501#section-7.1). I'd like to see the code returned when [client.Select](https://github.com/emersion/go-imap/blob/1bdc3f86477cd3fb5c7aa2047d40e45d4faa0f09/client/cmd_auth.go#L28) fails. Currently the status...
Hello, I have a small fix related to logging. Due to implementation, there is impossible to start to debug mode from the beginning. So, I have a proposition to add...
When I repeat do dial and login for more time, it return me "Already logged in" ```jsx func LoginEmail(addr, username, password string) (c *client.Client, err error) { log.Println("Connecting to server...")...
Hi @emersion I am using go-imap to fetch the messages and it was working fine until I came accross this issue while running in windows machine. Here is the code...
When there is a panic while processing inbox messages the defer logout is hanging process. (and prevents seeing the stack trace). Context: - listen update in a go routine -...
But then how to handle extensions?
HI. I want to get raw responses for logging. For example i want to log raw responses from `Login()` and `Authenticate()` even if it is _ok_. How can i get...
Make use of `textproto.Reader`, `textproto.Writer` and `textproto.Pipeline`.