I'm currently trying to replace a bit of DTML with a Python script.
Here's what I currently have:
To: <dtml-var recipientemail>
From: <dtml-var senderemail>
Subject: <dtml-var subject>
<dtml-mime type="text/plain" encode="7bit">
Attention <dtml-var recipientname>:
This file was sent to you from the Foo Company web site.
The sender included this message:
<dtml-boundary type="application/octet-stream" disposition="attachment"
Basically, it fetches a file from a public download directory, encodes it
as a MIME attachment, and sends the works to the specified recipient. Now,
the documentation on sending a normal text email is easy enough to find,
but from Googling around for more advanced docs it seems like I'm the only
person to ever want to do this. Are there any examples for this sort of
thing lying around that I somehow managed not to find?
The Day Companies
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -