[Zope] sending HTML-Mail with Images

Stadtverwaltung Schwarzenberg Stadtverwaltung Schwarzenberg" <stadtverwaltung@schwarzenberg.de
Wed, 2 Jan 2002 16:51:20 +0100


Hi there!

I'd like to send email from my webserver, using zope. this all works well,
except for one thing I cannot figure out. I'd like to send HTML-Formatted
E-Mail which include Pictures (embedded in the HTML).

what I do looks like this :<dtml-boundary encoding=base64><dtml-var
picture>.

The probem is that all this will do is give me the picture as an attachment.

I would need a way to reference this picture from the mails own HTML
(Outlook express does ist like this: <img src="cid:something@mypc"> and add
a header "Content-Id: <something@mypc>" to the pictures boundary.

But I cannot do this because <dtml-boundary> does not support a "content-id"
attibute and everything i add after the tag is base64 encoded, thus beloning
to the picture!

Is there any workaround or help for this problem?

Thanks a lot
Falk