[Zope] Sending HTML emails with images

vsbabu@vsbabu.org vsbabu@vsbabu.org
Mon, 12 Aug 2002 15:52:46 -0400


Hello,

I'm asked to make a spam product :-( This gets data from some people, makes it into an HTML page and then emails it.

Now, if the HTML page has to have images too, one way I can think of is by putting absolute URLs to the images. But, that will not work if the email is read outside the internal network.

Here's how I'm sending my html encoded mail - how do I add image attachments that are referred in the html?

    <dtml-mime type="text/html" encode="7bit">
    <dtml-var index_html_email>
    </dtml-mime>


Thanks in advance

Satheesh Babu
http://vsbabu.org