
我正在發送一封用引用的可列印編碼編碼的郵件,其中包含一些點.
。特定郵件伺服器/客戶存在問題。由於某種原因,他們收到的郵件的形式是每個點都被編碼為=2E
最終破壞了簽名。
什麼系統可以做到這一點?標準中也沒有定義對點進行編碼。最佳實踐解決方案是什麼?對每個點進行編碼以防止系統轉換?你們有人已經遇到這個問題了嗎?
我正在使用該包通過 python 發送郵件email
。引用列印編碼將使用set_content
python3 中的方法進行。該問題僅發生在特殊的郵件伺服器上。以下是電子郵件範例:
離開我的計劃後的郵件:
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
<!DOCTYPE html><html><h1>Test Email</h1><p>This is a test email. Showing En=
coding of points in quoted-printable.</p></html>
測試郵件用戶端收到的郵件:
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
<!DOCTYPE html><html><h1>Test Email</h1><p>This is a test email=2E Showing =
Encoding of points in quoted-printable=2E</p></html>