[Zope] MimeWriter and encode64 with zope file objs
Dieter Maurer
dieter@handshake.de
Fri, 6 Jun 2003 19:27:46 +0200
Please stay on the list...
drew nichols wrote at 2003-6-6 10:00 +1000:
> >If your files are not too large, you can use "encode_string"
> >and convert the "file" into a string with "str(file.data)".
> >
> About how large can i go (or is it depndant on the memeory available on
> the server?
Sure. When you convert the file content into a string,
then you need its size as memory.
Almost surely, the "sendmail" tag builds its message completely
in memory before it transfers it to the mail server.
Thus, you will need the message size anyway in memory.
Converting to a string will at most double the required
memory. Thus, maybe not a big problem.
Dieter