[Email-SIG] Parsing email with large attachment
E Vijay Rao
vijay at accellion.com
Thu Sep 6 04:44:15 CEST 2007
Yes I would like to propose an API and work on the implementation.
Any pointers on where to get started ?
At 07:51 PM 9/4/2007, Barry Warsaw wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>On Sep 4, 2007, at 12:27 AM, Vijay Rao wrote:
>>The only way to fix this seems to be rewriting the parser to not load
>>the attachment into memory at all and maybe write it to a file , pass
>>the file pointer to set_payload and decode the attachment in small
>>chunks in get_payload instead of loading the entire file.
>>Subclass message to accept a file pointer in set_payload, etc...
>We've long talked about adding an API to allow the parser to store
>attachment data externally instead of in memory. We've never gotten
>past the "yes, that would be a good idea" stage though. Care to
>propose an API and work on an implementation?
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.7 (Darwin)
>-----END PGP SIGNATURE-----
More information about the Email-SIG