emersion / emersion/go-message
multipart: NextPart: EOF error for multipart/mixed content type
Open
- Dominant language
- Go
- Stars
- 458
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
I was trying the read the mail using go-imap and go-message libraries, but for a particular mail I am getting
`multipart: NextPart: EOF` error on `part, err := reader.NextPart()` where reader is the `mail.CreateReader`.
content type of the email is as following. I got it from gmail client `show original mail`
```
Content-Type: multipart/mixed; boundary="-----SECBOUND"
-------SECBOUND
Content-Type: text/html
Content-Transfer-Encoding: 8bit
html content only
-------SECBOUND--
```
Contributor guide
Assessment
This issue has not been assessed yet.