The lib email parse problem...

Tim Roberts timr at probo.com
Wed Aug 30 02:09:47 EDT 2006


"????" <guotie.9 at gmail.com> wrote:

>i know how to use email module lib.
>
>the question is about how to handle the rfc 1521 mime
>mulitpart/alternitave part .
>
>i know emai can handle mulitpart , but the subpart  alternative is
>special .

No, it's not.  A multipart/alternative section is constructed exactly the
same as any other multipart section.  It just so happens that it will have
exactly two subsections, one text/plain and one text/html.
-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list