[Zope] Email files via a form thru Zope

Michelle michelley72@yahoo.com
Sun, 27 Aug 2000 22:32:32 -0700 (PDT)


Hi,

I was wondering if anyone can help me. 

I would like to have people send files through a form so I have created a
form:

<form name="form1" action="senddocument" enctype="multipart/form-
data" method="post">
<font size="2" face="Tahoma"><b>Name:</b></font> 
<p><input type="text" name="textfield" size="30"></p>
<p><font size="2" face="Tahoma"><b>Email Address:</b></font> </p>
<p><input type="text" name="textfield2" size="30"></p>
<p> <font size="2" face="Tahoma"><b>Please attach your file:</b></font></p>
<p><input type="file" name="attached_file" size="30"></p>
<input type="submit" name="Submit" value="Submit"></form>

with the "senddocument" method doing:

<!--#sendmail smtphost="my server" mailto="michelle@non.com"--> 
To: Feedback Recipient <michelle@non.com> 
From: Zope Feedback Form 
Subject: New Document
Feedback from : <!--#var textfield2-->
Name of Sender: <!--#var textfield-->
Attached File: <!--#var attached_file-->
<!--#/sendmail--> 

Now (theoretically) you are supposed to be able to attach a file 
(either a .doc or a .xls file and it magically gets emailed to me. I 
get an email but the file does not attach. 

Unfortunatley I am not the most techo-minded person around and I have 
probably missed the most simplest bit but I just cant make it work!!! 
This whole Python and external methods and all that sort of stuff has 
been confusing me like you wouldnt believe! Soooooo I was hoping that 
there would be some wonderful person out there to show me the light! :)

Look forward to hearing from you!

Michelle

=====
Work like you don't need the money, love like you have never been hurt and dance like nobody is watching.

__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/