摘要:MIME_Entity[] attachments = mime.Attachments; foreach (MIME_Entity entity in attachments) { string fileName = entity.ContentType.Param_Name; string di
阅读全文
posted @ 2017-02-16 15:35
|
|||
02 2017 档案
摘要:MIME_Entity[] attachments = mime.Attachments; foreach (MIME_Entity entity in attachments) { string fileName = entity.ContentType.Param_Name; string di
阅读全文
posted @ 2017-02-16 15:35
摘要:解决邮件内容为multipart,并且Param_Boundary等于null的不规范邮件内容无法读取问题,这样的邮件内容头部往往带两个或多个ContentType。 红色为自己加的,绿色为注释掉原来的。 修改MIME_h_Collection.cs文件 #region method GetFirs
阅读全文
posted @ 2017-02-16 15:30
摘要:修改MIME_b_Text.cs文件,红色字体为添加的部分,绿色为修改部分 private static Encoding m_pEncoding = Encoding.Default; #region static method Parse /// <summary> /// Parses bod
阅读全文
posted @ 2017-02-16 15:22
|
|||