[Zope] Complex e-mail using dtml-mime

Andreas Jung lists at andreas-jung.com
Fri Jul 16 14:25:05 EDT 2004


i recommend using the 'email' module of Python which gives you all the 
features you need to
generate complex emails without fighting the limitations of dtml-sendmail.

-aj

--On Freitag, 16. Juli 2004 13:51 Uhr -0400 Andrey Shuvikov 
<ashuvikov at genuone.com> wrote:

> Is it possible to create e-mail containing both plain text and html
> versions as well as attachment using a combination of dtml-mime tags? It
> should look like:
>
> Content-Type: multipart/mixed;  boundary="---------boundary1"
>
> ---------boundary1
> Content-Type: multipart/alternative;  boundary="---------boundary2"
>
> ---------boundary2
> Content-Type: text/plain
>
> <<Text version>>
>
> ---------boundary2
> Content-Type: text/html
>
> <<Html version>>
>
> ---------boundary2--
>
> ---------boundary1
> Content-Type: application/pdf
>
> <<Pdf file>>
>
> ---------boundary1--
>
> Thanks a lot!
> Andrey
>
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they are
> addressed. If you have received this email in error please notify the
> system manager. This message contains confidential information and is
> intended only for the individual named. If you are not the named
> addressee you should not disseminate, distribute or copy this e-mail.
> _______________________________________________
> 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