The lib email parse problem...
叮叮当当
guotie.9 at gmail.com
Tue Aug 29 05:06:35 EDT 2006
supose a email part like this:
Content-Type: Multipart/Alternative;
boundary="Boundary-=_iTIraXJMjfQvFKkvZlqprUgHZWDm"
--Boundary-=_iTIraXJMjfQvFKkvZlqprUgHZWDm
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 7bit
abcd.
--Boundary-=_iTIraXJMjfQvFKkvZlqprUgHZWDm
Content-Type: text/html; charset="gb2312"
Content-Transfer-Encoding: quoted-printable
.................
--Boundary-=_iTIraXJMjfQvFKkvZlqprUgHZWDm--
the plain text is abcd, and the alternative content type is text/html,
i should prefer explain the html content, and i must not explaint the
two part ,so i want to get the boundary end.
thanks all.
More information about the Python-list
mailing list