[Zope] HTML/PlainText alternate eMails from Zope

David Siedband david at calteg.org
Fri Aug 13 20:16:52 EDT 2004


Something like this?



<dtml-var standard_html_header>

<dtml-sendmail mailhost="MailHost">
From: david at calteg.org
To: technique at oceanicsky.com
Subject: mailTest
MIME-Version: 1.0
X-Mailer: Zope
<dtml-mime type="text/html" encode="quoted-printable">

<strong>HTML</strong> here

</dtml-mime>

<dtml-mime type="text/plain">

plain text

</dtml-mime>
</dtml-sendmail>



On Aug 13, 2004, at 12:13 PM, Jonathan Cyr wrote:

> Hello,
>
> I want to send eMail from Zope that automatically shows HTML to 
> HTML-enabled eMail clients and PlainText otherwise.
>
> It seems to concern a boundary of type? alternate.  I'm not very 
> versed in eMail and its protocols.  I was hoping one of the DTML 
> sendmail options would achieve this.
> Anyone know how to do this?  Or some keywords for Google other than 
> HTML eMail boundary or alternate?
>
> Thanks,
>
> Jon Cyr
> cyrj at cyr.info
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>



More information about the Zope mailing list