[Zope] Mime types for email attachments

Brendon Grunewald brendon@70south.com
Thu, 31 Aug 2000 23:44:29 +0200


Thanks Dieter,

I seem to have the mime types fixed, what I am now battling with is the
ability to use variables within the <dtml-sendmail> tag.

What I want is the ability to:
1. Select the document you want from a pulldown list.
2. Enter your email.
3. Click on send, and bang the document gets emailed to you as an
attachment.

This all works EXCEPT for the variable document name etc. That seems to only
work when the name is hard coded in...

Brendon

----- Original Message -----
From: "Dieter Maurer" <dieter@handshake.de>
To: "Brendon Grunewald" <brendon@70south.com>
Cc: <zope@zope.org>
Sent: Thursday, 31 August, 2000 21:13
Subject: Re: [Zope] Mime types for email attachments


> Brendon Grunewald writes:
>  > 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.
> You already discussed lots of things with Chris....
>
> I hope, I say only new things:
>
>  * you will need the MIME patch.
>    It allows you to supply expressions as values for the various
>    arguments of the sendmail tag and its friends rather
>    than constants.
>
>    Search zope.org or the list's archive (the MIME patch
>    has been mentioned recently, with URL where it can be found).
>
>  * Use the following MIME types:
>
> word application/msword
> excel application/vnd
> pdf application/pdf
>
>
> Dieter
>