simple example of mimelib? and embedding (not attaching) images in email sent with python.
Markus Schaber
markus at schabi.de
Thu Aug 16 13:58:29 EDT 2001
Hi,
phil hunt <philh at comuno.freeserve.co.uk> schrub:
> parses text. Note also that this is documentted under the heading
> "Parsing MIME documents" which wants to be changed to something like
> "Parsing Mail Documents".
That is definitely not true, because there are other uses for mime
encapsulation, not only mail. The nearest example is Usenet News.
>>One question though: while I original wrote mimelib to handle the
>>MIME-specific tasks, it really is shaping up to be a general mail
>>handling library. "mimelib" might be the wrong name for it.
>>"maillib" and "emaillib" seem inelegant, and "messagelib" too
>>generic.
>
> Mail messages and usenet messages are rather similar. Similar enough
> that they ought to be represented by the same class (or perhaps,
> different subclasses of the same superclass).
The same class, please. You can send the same message per mail and nntp
at the same time (known as post&Mail).
> If one library covers both, then messagelib seems an approprate name.
Agree.
markus
--
1) Customers cause problems.
2) Marketing is trying to create more customers.
Therefore:
3) Marketing is evil. (Grand Edwards in comp.lang.python)
More information about the Python-list
mailing list