Re: RFC mailbox interface



On 2001.11.22 10:56 Kenneth Haley wrote:
> Does the API really need getAllHeaders, getBody, and getAll or would 
> getAll be enough and let the client seperate out the headers?

Yes. Think of IMAP or similar protocol: You do not want to fetch all the 
messages just to access subjects and dates. Actually, even more 
fine-grained API would be appreciated (if only implementation is not too 
difficult): getBodyPart(partNo) - to download attachments on request only.

/Pawel
-- 
Pawel Salek, Theoretical Chemistry, SCFAB, Stockholm
http://www.theochem.kth.se/~pawsa/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]