Foxtable(狐表)用户栏目专家坐堂 → 邮件编码的问题


  共有1502人关注过本帖树形打印复制链接

主题:邮件编码的问题

帅哥哟,离线,有人找我吗?
newsun2k
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:七尾狐 帖子:1501 积分:11195 威望:0 精华:0 注册:2014/8/13 16:19:00
邮件编码的问题  发帖心情 Post By:2024/8/26 9:11:00 [只看该作者]

我收邮件的时候,偶尔有几件邮件会出现编码不同,读不出来。例如下面这个
我获取日期的时候报错了,这个有啥办法处理么?求大神指导。
百度了一个比较接近的答案:LumiSoft.Net邮件接收乱码问题解决-CSDN博客
但是我看不懂,惭愧。


Received: from xmbg7.mail.qq.com (unknown [101.91.43.89])
by bizmx42.qq.com (NewMx) with SMTP id 
for <jim>; Wed, 08 Jun 2022 15:58:47 +0800
X-QQ-SPAM: none
X-QQ-HITDIVERSE: none
X-QQ-FEAT: +ikTnhMLmOnV4D53sNQK4Rd6Tsg+t50iR/ocuv3Q2aLiPPJaShXf9enk8exQb
3b5EgLqzWNW1/jVX45vNnQNiE1o9jahcGioU85K6jr6vcRQ2q0TyBmOH6HEsb6KOTpajI1n
LQ/vxAhMWZNkzGB/qR8eupJ/qi7FriGxBXGaGGB/c0VCw51TS5DgXTqGZbvQCvPnZTmWlJF
ex67EYJ5k+yMihZWbPQ5TSXzOmwzGxC9T6FujbkVVThufck7ko/lX6CMFcb2fAGAEkCU/2F
CpDaA79UfU5bM+/gYeoyrxy65prVRKZmQeWNsqraaCuG4H5se0TPoOjFa1pwJIEZ0BW7WgV
TyB5JR6OtmgSYbWoQ/IQRQen7IiqyNDOMBmhKd268Z9enLbIhB2a2CM8gclng==
X-QQ-MAILINFO: M4z91vDa1GL8Jc/YiKf4COs00l655L5ai5IHcFnW2/kpqIaLjXM6uH0Vd
eXfpyqndEIVTFdbKHuz/zpBV0qGK1Oi3lKXQkYBSYeMkZakrgSW3j2OHgzIISeOqQmD81UR
7CELtOdkQpqNsIVpnNof43/4yUDiF85wYRGw7e0k5BxPD1gmr8oy767lQZ+2i5kz4TSqSrA
9uaSgqjN4KrNzm8s=
X-QQ-mid: bizmx42t1654675128tm9fjdjnw
X-QQ-ORGSender: 2030om
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
t=1654675127; bh=3hlvxs6jad35j/MIi/gnZXsRk4quWSEAMH7qVbpPMUQ=;
h=From:To:Subject:Date;
b=bAognz0s2UTwHCzale7/h9s2jxNrW0WCwii+ri7jf3GUvyClkdmHCHkFEPYKxSS72
lHPY4vbxn42kDsal3aG2WVgYi4XCU5agqycKTy9DuNxNE/JDHu5EohZarYkYCDHeBt
9zmXG7Kxj+bBhlMe/K32hiHAIUgt8So0mStYmoQQ=
Received: from localhost ([114.217.201.37])
by newxmesmtplogicsvrsza30.qq.com (NewEsmtp) with SMTP
id EAE0FE03; Wed, 08 Jun 2022 15:58:46 +0800
Message-ID: <tencent_744BCD1189E69850DE7FA1B0A987247FF405@qq.com>
2l50keqSt0RarFt3ny/eC+9zOvRpWjhy5UJCHdflc928RrSgGnXWKScjX7EkYIt2za/0bw8uEHQl
H9qheUsT2WXOcXKugpK1peSHTFqSqDrYaQXjQJkPt7ZVV90vncqnBMuj5Zhde1L3yrdX4XlY6pAs
wvp55q+7GXFNmxQtdPraqa7cq0zDAXb5YOPzvq4ryqPw1it4baDCGPnQihN1gqZGiabdaW179J1U
/3wrZbH1OxcVqTCN6iJFcE5gkkWG9OpekgdmquCQOR3BACRl4l+M8g4uCAkTa64q3D4oGvpnPL/k
vTapEhfXyPiLD0pscN+ctIHoQojuzvtF3p1aDxN0j+EshJSiMHJghMgZZNPr7zJKvdDzmfAYBsD9
mQVaAAUdLpU7K71dE3BWPHvgXJAYOECjvGnobRld6QnUFZNtTobf4REBB6ghoSD7vbDxKv7mpZh/
g1qj7sR3My2AT9wMc686kP2Wl2axDHX9nlN4aoGHjRFpGiFMuCXVp+TtpGfZhtTqgAkS5eb1EskI
mHnahd4jJKCe/nI/1DK/ulzMWtuM+S3arqfbMKqR2fdOjd2DO/D01VGaQz+h3znya7MFB+9veatc
WKQ666CJy/1ISX3VWAmQ8pflCjZFR4ajxagsvkYIT9yRwEwjZWNtnwUp0lMCvT4UFpEBm5MLmEl/
PjqoQhg0KlPMDhyF5N0Z3Whbc+9sTHbeVeGCxsPC6lTcCCVZy4hOTKPA64le8orcQMK+A5SsV4md
KUtKTaMd63xZFMFxLb2zvs+dQT5crekHYY2S+68jXoIAYs+dXV6bpU4i/LsDu83eYlVHgMfMl0lo
uktRXRO1c9JOZirrWJsl9ojpEZl2vQ32Je+y4Ynlwc+tNPMvUDxwwx3yQ8pOTuIghbw5AtMZ7Zi0
1Ldt4p883Z7oOh3R5uynBgkMsT4ibVoU+iDynNgT9XoR/GzwVOr5NHrw52B2cI4Cb0GCb9oevCv+
jryQZ6OD/WOlebW+2vVOMWvfxSYORvKAeqxoG4aw==
From: 电子fa piao公共服务平台 <2m>
To: 电子fa piao购买方 <jinsm>
Subject: 增值 通知
MIME-Version: 1.0
Date: 08 6月 2022 15:58:54 +/-TZ
Content-Type: multipart/related; boundary=f616c83f2f0f188265c7004d81d45723
Content-Transfer-Encoding: 8bit

 回到顶部
帅哥,在线噢!
有点蓝
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:111414 积分:567140 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2024/8/26 9:19:00 [只看该作者]

把代码转换为vb.net:https://converter.telerik.com/,放到全局代码使用

 回到顶部