Differences between RFC822.SIZE and 'normal' size

This is a discussion on Differences between RFC822.SIZE and 'normal' size within the IMAP forums in Other Technologies category; Hi, if I would want to implement an IMAP server, how should I calculate the size I'd report as RFC822.SIZE? I thought that the RFC822 size would be the mail's size with CRLF instead of LF line endings. But I'm confused by what I see reported by e. g. Google IMAP server. If I download a mail and write it directly to a file (with CRLF line endings), the file's size is different (a bit larger) from the RFC822 size that the Google server is telling me. Shouldn't both sizes be the same? Regards Timo -- www.TimoSoft-Software.de - Unicode controls ...

Go Back   Application Development Forum > Other Technologies > IMAP

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-06-2008, 05:37 PM
Timo Kunze
Guest
 
Default Differences between RFC822.SIZE and 'normal' size

Hi,

if I would want to implement an IMAP server, how should I calculate the
size I'd report as RFC822.SIZE?

I thought that the RFC822 size would be the mail's size with CRLF
instead of LF line endings. But I'm confused by what I see reported by
e. g. Google IMAP server. If I download a mail and write it directly to
a file (with CRLF line endings), the file's size is different (a bit
larger) from the RFC822 size that the Google server is telling me.
Shouldn't both sizes be the same?

Regards
Timo
--
www.TimoSoft-Software.de - Unicode controls for VB6
"Those who sacrifice freedom for safety deserve neither."
"Demokratie ist per Definition unsicher. Ihr Schutz entsteht aus der
Überzeugung, dass die demokratischen Kräfte überwiegen und sich – auf
demokratischem Wege – durchsetzen."
Reply With Quote
  #2  
Old 07-06-2008, 07:16 PM
Mark Crispin
Guest
 
Default Re: Differences between RFC822.SIZE and 'normal' size

On Sun, 6 Jul 2008, Timo Kunze posted:
> I thought that the RFC822 size would be the mail's size with CRLF instead of
> LF line endings. But I'm confused by what I see reported by e. g. Google IMAP
> server. If I download a mail and write it directly to a file (with CRLF line
> endings), the file's size is different (a bit larger) from the RFC822 size
> that the Google server is telling me.


Google's server has some bugs.

> Shouldn't both sizes be the same?


Yes.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 03:00 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.