这是indexloc提供的服务,不要输入任何密码
Skip to content

multipart: NextPart: EOF error for multipart/mixed content type #174

@swagftw

Description

@swagftw

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--

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions