RE: Max Size for Attachment

2001-07-11 Thread Masand, Manish

I have observed that while sending mails with a pdf attachment, the size of
the pdf attachment changes when it reaches 
the destination.Sometimes(randomly).i am not able to open the pdf
attachment...gives an error like error reading the document.

The attachment behaves differently if the destination site is hotmail and
differently  if the destination is lycos.

What could be the possible solution to this.Is this a 'hotmail problem'?

--

Manish Masand

-Original Message-
From: David Champion [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 11. Juli 2001 03:04
To: [EMAIL PROTECTED]
Subject: Re: Max Size for Attachment


On 2001.07.10, in [EMAIL PROTECTED],
Eugene Lee [EMAIL PROTECTED] wrote:
 On Wed, Jul 11, 2001 at 06:41:05AM +0700, Efata wrote:
 : 
 : I have fetch email from my friend with attachment file 2.8 MB. And I
read
 : this email with mutt and I view attachment and save it. But after I save
the
 : size change only 2M. It is right or not?
 
 This is normal.  Attachments are often encoded to prevent data corruption
 when sent via email.  But this encoding process often inflates the size
 of attachments by 30-40%.  So with you, an inflated size of 2.8 MB and an
 actual size of 2 MB is quite normal.

This is typically (probably always) a base-64 encoding, meaning that
every 3 bytes are encoded as 4, so your attachment inflates by exactly
33%. (The original file is 75% the size of the encoded attachment.)

% echo 2.8 .75 \* p | dc
2.10

Your detached file should be about 2.1 MB.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Max Size for Attachment

2001-07-10 Thread Efata

I have fetch email from my friend with attachment file 2.8 MB. And I read
this email with mutt and I view attachment and save it. But after I save the
size change only 2M. It is right or not?
Thanks 



Re: Max Size for Attachment

2001-07-10 Thread Eugene Lee

On Wed, Jul 11, 2001 at 06:41:05AM +0700, Efata wrote:
: 
: I have fetch email from my friend with attachment file 2.8 MB. And I read
: this email with mutt and I view attachment and save it. But after I save the
: size change only 2M. It is right or not?

This is normal.  Attachments are often encoded to prevent data corruption
when sent via email.  But this encoding process often inflates the size
of attachments by 30-40%.  So with you, an inflated size of 2.8 MB and an
actual size of 2 MB is quite normal.


-- 
Eugene Lee
[EMAIL PROTECTED]



Re: Max Size for Attachment

2001-07-10 Thread David Champion

On 2001.07.10, in [EMAIL PROTECTED],
Eugene Lee [EMAIL PROTECTED] wrote:
 On Wed, Jul 11, 2001 at 06:41:05AM +0700, Efata wrote:
 : 
 : I have fetch email from my friend with attachment file 2.8 MB. And I read
 : this email with mutt and I view attachment and save it. But after I save the
 : size change only 2M. It is right or not?
 
 This is normal.  Attachments are often encoded to prevent data corruption
 when sent via email.  But this encoding process often inflates the size
 of attachments by 30-40%.  So with you, an inflated size of 2.8 MB and an
 actual size of 2 MB is quite normal.

This is typically (probably always) a base-64 encoding, meaning that
every 3 bytes are encoded as 4, so your attachment inflates by exactly
33%. (The original file is 75% the size of the encoded attachment.)

% echo 2.8 .75 \* p | dc
2.10

Your detached file should be about 2.1 MB.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago