[Zope] Sendmail tag and images

Kevin Dangoor kid@kendermedia.com
Thu, 19 Aug 1999 21:57:25 -0400


From the source, it looks like you can get at the raw image info by
referring to "Myimage.data". But, I can't guarantee that you won't need more
encoding to send it via email.

(The manage_FTPget method does nothing but return "self.data")

Kevin

-----Original Message-----
From: Jason Spisak <webmaster@mtear.com>
To: zope@zope.org <zope@zope.org>
Date: Thursday, August 19, 1999 9:00 PM
Subject: [Zope] Sendmail tag and images


>I am using the sendmail and mime tages to send an image with a few
>files.  But in Zope2, images render to a url.  For example, <!--#var
>Myimage--> renders "http://nyhost:8080/images/Myimage"  When trying to
>send this via email, all that goes is the url, naturally.  I tried
><!--#var "_[Myimage]"-->, and I get a __hash__ error.  I tried it with
>quotes, but that's looing for an object in the namespace and I get a
>KeyError.  How do I et those raw bytes.