消息 [27408]
In the following example all of the multiple spaces
in the subject will be compressed into one space
each.
from email.MIMEMultipart import MIMEMultipart
outer = MIMEMultipart()
outer['Subject'] = "Subjects longer than 68
characters with multiple spaces
get converted to one space."
print outer.as_string()
Will print:
Content-Type: multipart/mixed;
boundary="===============0820565010=="
MIME-Version: 1.0
Subject: Subjects longer than 68 characters with
multiple spaces get converted
to one space.
--===============0820565010==
--===============0820565010==--
|
|
| 日期 |
用户 |
动作 |
参数 |
| 2007-08-23 14:37:37 | admin | 链接 | issue1422094 messages |
| 2007-08-23 14:37:37 | admin | 创建 | |
|