29 Jan
2004
29 Jan
'04
7:14 p.m.
hi i have a simple form, where the results get sent out as an email. the form is within a dtml file, and the form method calls another dtml file which has the sendmail part. it all works fine. but i need to add a file upload to the form, and have it send the attached file with the rest of the form results via email. so i have in my form: <input size="20" value="" type="file" name="upload" /> and then in my dtml file: <dtml-try> <dtml-sendmail mailhost="MailHost"> To: xxx From: xxx Subject: test form <dtml-var upload> </dtml-sendmail> but the email i get back gives me this: <ZPublisher.HTTPRequest.FileUpload instance at 0x8c09bcc> any ideas? thanks matt