-
Notifications
You must be signed in to change notification settings - Fork 328
Open
Description
Performing a move&wait
on Gmail results with an unexpected EOF
error, but still performs the move and think that the the connection is closed so I am unable to do multiple ones.
Here is some code:
var collected []*imapclient.FetchMessageBuffer
...
for _, message := range collected {
cmd, err := client.Move(imap.UIDSetNum(message.UID), mailbox_destination).Wait()
log.Println(cmd) // nil
log.Println(err) // "unexpected EOF" on 1st iteration then "use of closed network connection"
}
The only log that I get during the move is that so I guess the connection is not really closed:
T7 UID MOVE 54418 "[Gmail]/Trash"
Metadata
Metadata
Assignees
Labels
No labels