On Mon, 28 Aug 2000, Michelle wrote:
> 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:
> 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.

Not quite.  To attach a file, you must make your message a "multi part MIME" 
message.  This is actually not all that difficult to do, and you can find the 
details in the DTML documentation.

> 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! :)
One think you might want, tho, is to get the MIME patch, that allows 
expressions for the various fields in the dtml-sendmail tags.  This will be 
helpful for things like user-supplied file names.

Check out these pages:

> Look forward to hearing from you!
> Michelle

Have a better one,
        Curtis Maloney

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

Reply via email to