Multipart/alternative Emails
Hello, I'm trying to perform a multipart/alternative email message with combination of sendmail-, mime- and boundary-tag. Here is the code: <dtml-sendmail mailhost="MailHost"> To: thomas.adams@info.de From: kontakt@info.de Subject: password <dtml-mime type="multipart/alternative" encode="quoted-printable"> <dtml-boundary type="text/plain" encode="quoted-printable"> ....plain text... <dtml-boundary type="text/html" encode="quoted-printable"> <html> ...... here the HTML-Code .... </html> </dtml-mime> </dtml-sendmail> But the resulting email is still of type multipart/mixed, what is wrong here? (I'm using Zope 2.7.3 with Python 2.3.4 on Win XP SP2) Thanks in advance Regards Thomas
Thomas Adams wrote:
But the resulting email is still of type multipart/mixed, what is wrong here?
You're using DTML ;-)
(I'm using Zope 2.7.3 with Python 2.3.4 on Win XP SP2)
Seriously though, use Python's shiny new email package from an external method, it's much better at all this kind of stuff. cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (2)
-
Chris Withers -
Thomas Adams