import rfc822 # email headers and such

Lars von Wedel lvw at lfpt.rwth-aachen.de
Wed Aug 16 03:18:17 EDT 2000


Maybe it's possible to hack all these rfc822, mimetools and such stuff
to supply data via DOM/SAX anyway? The structures can be mapped to a 
DTD in a straightforward manner.

Everything sent around would be available as XML, then ...

Well, just an idea,
Lars


Thomas Gagne writes:
 > I may soon have the need to accept as input to Python an email message that
 > will either a) have an XML document attached to it or b) have XML as the body
 > of the message.  I don't see mothods int he rfc822 module for accessing the
 > body, or attachments, much less decoding them if necessary.
 > 
 > Maybe there's another module for that?
 > 
 > -- 
 > http://www.python.org/mailman/listinfo/python-list
 > 




More information about the Python-list mailing list