Re: [Zope] MimeWriter and encode64 with zope file objs
6 Jun
2003
6 Jun
'03
5:27 p.m.
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
8340
Age (days ago)
8340
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer