错不过的你.
2021-05-31 15:13
采纳率: 100%
浏览 96
已采纳

使用javamail发送邮件为何邮件是无主题?

使用javamail发送无主题,附上邮件原文

Received: from DESKTOP-0AVLR3N ([119.123.164.68])
	by newxmesmtplogicsvrszb6.qq.com (NewEsmtp) with SMTP
	id A9B358D2; Mon, 31 May 2021 14:42:27 +0800
X-QQ-mid: xmsmtpt1622443347tvck6yw8a
Message-ID: <tencent_39C51FB25CD3419DC2A5B1ABE086896F9E09@qq.com>
X-QQ-XMAILINFO: M+kJ3+asFsV8ptZUg9M5141ZTVUxpCoBaq6GrZ5cQA+c8/T9FhKoDAKmpQ0nXB
	 F5bahk21CsAE4S2pH5aMCdmiQRWSNIMinV16aeI1mHF1VOORmZ6VN1F9LNltlNYfzSFIrTBA3wYj
	 sCf1WBS4OP8eHL+6PF0TKgyzai9cscl0VMiop13zLRgeKzSiU23Rz8wV+/JBabc8oPHtHSZeN+cZ
	 Kg5eP8vBg9P2/q4aUVDf74KTlXk0QuYOu8t+b9EMtJaRdAY1GCW+ru8YpiDztZAWQN2zBBWuVOxn
	 caHTdkp1x6UY/jGgZpVLtJ4D/xzL9XOCwoKXzADrE4ZxCtvDriYGI2D/srIlKCQiW7D99cAKZFjX
	 VyNnignDNSV+XGXCPAEoNqly8v3TCXYGiSFkoF1PxyA09MxUmLvn/aLm8eB6uMHMXlisE1KEx5ym
	 w+hPjINuVg7rJirdogJZQTi6I1s8U4PnOVLio+4qg0Iw2h5HEpuJcd/pMSXl0CzqIe+OgJRnd2c8
	 SXw+ob5rKkOkfDnmlkZRvqZsSRtQJl+oUI6c8EhT1Hbf4PtU5y4zXc88Oh3aS0f5QaDLBSFfFOnL
	 4E3RTBJNy+5clQkaYHDY25VCXwN9ytMNC3zII=
From: xxxx@qq.com
To: xxxx@qq.com
X-OQ-MSGID: <108979786.01622443346666.JavaMail.

后台输出的内容是:

DATA
354 End data with <CR><LF>.<CR><LF>.
From: xxxx@qq.com
To: xxxxx@qq.com
Message-ID: <375562226.01622445154053.JavaMail. �獛澠@smtp.qq.com>
Subject: =?GBK?B?u7bTrdeisuF0aGhoo6E=?=
MIME-Version: 1.0
Content-Type: text/html;charset=UTF-8
Content-Transfer-Encoding: base64

PHA+PGgyPuaBreWWnOazqOWGjOaIkOWKn++8gTwvaDI+PC9wPuaCqOeahOeUqOaIt+WQjeS4uu+8
mjxoND5hPC9oND7or7flpqXlloTkv53nrqHmgqjnmoTlr4bnoIHvvIzlpoLmnInpl67popjor7fl
j4rml7bogZTns7vnvZHnq5nlrqLmnI3vvIzlho3mrKHmrKLov47mgqjnmoTliqDlhaXvvIHvvIE=
.
250 OK: queued as.
QUIT
221 Bye.

哪位大佬帮我看看

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

3条回答 默认 最新

相关推荐 更多相似问题