Hi all,
I've written an archiving connector between GroupWise and an archiving
appliance.
I read the messages to archive with HTTP (SOAP). To download the message I get
a special URL from the server. Then I send the message using SMTP to the
archive.
Now it happens sometimes when users have very large emails (I have seen more
than 2 GB), that I get a EOutOfMemory Exception because all available memory is
used up.
What I would need is a THTTPsend variant that is able to use the disk to store
the downloaded file - That means it should use TStream instead of
TMemoryStream. HttpGetBinary is not a solution, because it first downloads the
file to memory and then stores it to a TStream.
For sending with IMAP I already have a derived class that is able to read the
data to send from a TStream, not a TStringList.
BTW: I'm using Lazarus/FreePascal on Linux and Windows (32bit on both).
Thanks
Rainer
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public