simple example of mimelib? and embedding (not attaching) images in email sent with python.
shriek at gmx.co.uk
Fri Aug 17 09:05:59 CEST 2001
Tim Roberts <timr at probo.com> wrote in message
> Note, however, that the standards for HTML formatted e-mail are still
> evolving. Messages with image attachments in Outlook generally only look
> right when viewed in Outlook.
> You build your message with MIME type multipart/related. You put the HTML
> text in a text/html part, and then use a series of image/gif attachments to
> hold the images.
> Chek RFC2557 at http://www.ietf.org/rfc/rfc2557.txt
Thanks for the great pointer. I'm still trying to digest and test this.
This may explain why I received screwy results such as
Subject: This is a MIME example
name="Just some HTML email"
Content-Description: Just some HTML email
This is <b>bold</b> of me but here's a clue as to what we should be using:
When I tried to use other code generously donated.
I soldier on. Will report back when success is reached.
More information about the Python-list