Problem sending an email in html with mime image
timr at probo.com
Fri Feb 3 06:14:52 CET 2012
Ariel <isaacrc82 at gmail.com> wrote:
>Hi everybody I have a question, here is my problem I want to send an
>email with content in html with an image embed so I converted the
>image binary in mime text and then I put the mime code inside the src
>attribute of the html like this:
><img class="logoeeeee" src="data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkq ... " />
Do email readers actually implement the data: scheme in <img> tags?
>The problem is that if I don't put the image mime code inside the src
>the email is sent but when I put the code then the email is not send
>and I don't get any error message.
There must be something else going on. The content of the message is
irrelevant to the sending process, unless it makes your message way too
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list