go-imap: K9-Mail Compatibility: list special-use type error
To get K-9 Mail working, I changed the follwing
s := make([]string, len(fields))
for i, v := range fields {
s[i] = fmt.Sprint(v)
}
if mailbox, err := imap.ParseString(s[0]); err != nil {
...
to line: https://github.com/emersion/go-imap/blob/master/commands/list.go#L41
Please excuse my go. I’ve only been writing it for one day.
references: https://stackoverflow.com/questions/44027826/convert-interface-to-string-in-golang
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 30 (6 by maintainers)
Okay, I see. Going to take a look at what’s needed for EXTENDED-LIST…