“missing word in phrase: charset not supported”, when using the mail package

前端 未结 3 1834
名媛妹妹
名媛妹妹 2021-01-06 11:24

I\'m trying to parse emails and I get this kind of errors using the mail package. Is it a bug on the mail package or something I should handle myself ?

missing

3条回答
  •  醉酒成梦
    2021-01-06 12:14

    I hope this helps someone who may consider Go to process emails(i.e develop client apps). It seems the standard Go standard library is not mature enough for email processing. It doesn't handle multi-part, different char sets etc. After almost a day trying different hacks and packages I've decided to just throw the go code away and use an old good JavaMail solution.

提交回复
热议问题