[Zope] Email Attachment

Maik Jablonski maik.jablonski@uni-bielefeld.de
Thu, 25 Apr 2002 17:08:20 +0200


hi,

I guess you have a newline between your mailheader and the <dtml-mime>-tag...

try something like:

<dtml-sendmail ...>
To: your@email.org
Subject: blablabla
<dtml-mime...>

greetings, maik. 

On Thu, 25 Apr 2002 09:26:55 +0000
"madeiraza" <miguel@iafrica.com> wrote:

> Hi! I'm a new user to Zope. I downloaded it about a week ago! I'm 
> struggling to attach a file to an email. I'm creating an online 
> questionaire whereby the answers that the user gives is put into a 
> database. Now I would like the user to send this grl file to me so 
> that I can analyse their answers. When I receive the email it looks 
> like this:- 
> 
> Mime-Version: 1.0 
> Content-Type: multipart/mixed; 
> boundary="130.1.22.169.1.-259099.1019655903.810.23884" 
> 
> 
> --130.1.22.169.1.-259099.1019655903.810.23884 
> Content-Type: text/plain 
> Content-Transfer-Encoding: 7bit 
> 
> Attached is the document that you requested. 
> 
> --130.1.22.169.1.-259099.1019655903.810.23884 
> Content-Type: application/octet-stream; 
> name="ANSWERS.grl" 
> Content-Disposition: attachment 
> Content-Transfer-Encoding: base64 
> 
> 
> --130.1.22.169.1.-259099.1019655903.810.23884-- 
> 
> Can anybody help me please! 
> Thanks! 
> Miguel 
> (Miguej@pfg.co.za)
> 
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )