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 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="[EMAIL PROTECTED]"--> 
To: Feedback Recipient <[EMAIL PROTECTED]> 
From: Zope Feedback Form 
Subject: New Document
Feedback from : <!--#var textfield2-->
Name of Sender: <!--#var textfield-->
Attached File: <!--#var attached_file-->

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!


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!

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to