Message27408
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==--
|
|
Date |
User |
Action |
Args |
2007-08-23 14:37:37 | admin | link | issue1422094 messages |
2007-08-23 14:37:37 | admin | create | |
|