[Zope] Send Attachment with sendmail - ERROR read
Vid B
zoops4@yahoo.com
Tue, 3 Jul 2001 13:41:31 -0700 (PDT)
I am trying to send e-mail with attachment using
following:
<dtml-sendmail mailhost="MailHost">
To:<dtml-var to_email>
From:<dtml-var email_address>
Reply-To:<dtml-var email_address>
Subject:<dtml-var subject>
<dtml-mime type=text/plain encode=7bit>
<dtml-boundary type=application/octet-stream
disposition=attachment encode=base64>
<dtml-with images>
<dtml-var
expr="restrictedTraverse(selected_image).read()">
</dtml-with>
</dtml-mime>
</dtml-sendmail>
but I am getting error:
Error Type: AttributeError
Error Value: read
Can anyone help?
Vid
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/