go-imap
go-imap copied to clipboard
Fetch feed nils into the channel
seqset := new(imap.SeqSet)
seqset.AddRange(mbox.UnseenSeqNum, mbox.Messages)
errCh <- p.cl.Fetch(seqset, []imap.FetchItem{imap.FetchEnvelope}, rawMsgCh)
will feed nils into the channel. How come?