[Zope] Mime types for email attachments

Brendon Grunewald brendon@70south.com
Wed, 30 Aug 2000 23:36:05 +0200


I am battling to find the information needed to attach word, excel, and pdf
documents to an email based on the input from a form.

I know that there is a howto that uses a python method, but I do not want to
use this option. Where can I get the necessary mime types and structure to
accomplish this?

This is what I have so far:
<!--#sendmail mailhost="MailHost"-->
To: <dtml-var Email_address>
From: WebForm <Webmaster@mysite.com>
Subject: Web doc request
<dtml-mime type=text/plain encode=7bit>
Attached is the document you requested.

<dtml-boundary type=application/<dtml-var Doc_Type> disposition=attachment
encode=quoted-printable>
<dtml-var <dtml-var Requested_Document>>
</dtml-mime>

<!--#/sendmail-->


Thanks
Brendon

------------------
70South: the No.1 source for Antarcticles.
For the latest news and views on Antarctica visit : http://www.70south.com