[Zope] EMail with uploaded attachments, Part II

Klaus Herrmann Klaus Herrmann <klaus.herrmann@goelz.com>
26 Jan 2001 17:53:31 CET


Hi *!

I figured out how it all works with dtml-mime etc, but i still have problems:
How do I determinate the filename and mime-type of the uploaded file?

i have 
<input type=file size=18 maxlength=3000000 name=attached_file>
and can get my data with attached_file.read(), but how do i do it when i want
to have filename and mime-type correctly filled in in
<dtml-boundary type=??? encode=base64 filename=??? name=???>
?

any suggestions?

thanks in advance!

	Klaus

-- 
Klaus Herrmann <klaus.herrmann@goelz.com>
Goelz & Schwarz GmbH, Munich
www.goelz.com
phone:+49 - (0)89 - 544 67 0 22
fax: +49 - (0)89 - 544 67 0 10