17 Apr
2001
17 Apr
'01
5:50 p.m.
I am using the following code to send an attachment in this case a gif image: <dtml-sendmail mailhost=kammail> To: knejad@codeit.com From: someone@someplace.com Subject: <dtml-var subject> <dtml-mime type="text/plain" encode=7bit> <dtml-var body> elvis is cool! <dtml-boundary type="application/octet-stream" filename="REQUEST['elvis'].getId() encode=base64><dtml-var "elvis"></dtml-mime> </dtml-sendmail> Mail with attachment was sent! when i recieve the email the file type is not shown. it should be a gif. I can save and view the file but it is saved as .html file. Also the filename is not rendered. Would appreciate some help on this.