in reply to problem with size of reconstructed email

If you're worried about the difference, it would help to know what is different. But you neither provided a sample email which demonstrates this difference nor shown the difference between an original email and its regeneration.

  • Comment on Re: problem with size of reconstructed email

Replies are listed 'Best First'.
Re^2: problem with size of reconstructed email
by luckypower (Beadle) on Oct 20, 2008 at 12:08 UTC
    here i am sending some difference between email files.

    (1)
    original mail part
    Content-Type: multipart/mixed; boundary="------------080809010202050907080509" This is a multi-part message in MIME format. --------------080809010202050907080509 Content-Type: multipart/alternative; boundary="------------060805000603060704000609" --------------060805000603060704000609

    duplicate mailpart
    Content-Type: multipart/mixed; boundary="------------080809010202050907080509" This is a multi-part message in MIME format... --------------080809010202050907080509 Content-Type: multipart/alternative; boundary="------------060805000603060704000609" This is a multi-part message in MIME format... --------------060805000603060704000609

    (2)
    original mail
    --------------080809010202050907080509 Content-Type: application/x-gzip; name="hi.tar.gz" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="hi.tar.gz"

    duplicate mail
    --------------080809010202050907080509 Content-Type: application/x-gzip; name="hi.tar.gz" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="hi.tar.gz" MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420)

    (3)
    original mail part
    This is a multi-part message in MIME format. ------_=_NextPart_001_01C92D01.A2C75F1A Content-Type: multipart/alternative; boundary="----_=_NextPart_002_01C92D01.A2C75F1A" ------_=_NextPart_002_01C92D01.A2C75F1A Content-Type: text/plain;

    duplicate mail
    This is a multi-part message in MIME format... ------_=_NextPart_001_01C92D01.A2C75F1A Content-Type: multipart/alternative; boundary="----_=_NextPart_002_01C92D01.A2C75F1A" This is a multi-part message in MIME format... ------_=_NextPart_002_01C92D01.A2C75F1A Content-Type: text/plain;

    and i got some empty boundraries like
    Content-Type: multipart/alternative; boundary="----_=_NextPart_002_01C92D01.A2C75F1A" ------_=_NextPart_002_01C92D01.A2C75F1A

    so can u suggest me some changes or in code so it will not increase the size of duplicate mail(upto 4-5 kb its okey)
    Thanks