Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

message/eternal-body (mimeebod.cpp)

16 views
Skip to first unread message

Christoph A.

unread,
Jun 28, 2011, 11:26:29 AM6/28/11
to dev-apps-t...@lists.mozilla.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

I was trying to see if Thunderbird parses
Content-Type: message/external-body
but so far I wasn't successful in building an email that Thunderbird
parses correctly.
I tried it with different access-types (anon-ftp, local-file, url).
I used the examples in the RFCs [1][2] as basis for my test emails.

[1] http://tools.ietf.org/html/rfc2046#section-5.2.3
[2] http://tools.ietf.org/html/rfc2017

When storing (Save as...) the attachments of my test emails, it resulted
in empty files or the warning: "The attachment appears to be empty. [...]"

Looking at the sourcecode, message/external-body seams to be implemented
(including the URL access-type - RFC2017) in:
mailnews/mime/src/mimeebod.cpp

Could someone provide an example of an message/external-body email that
Thunderbird parses?

Thanks!
Christoph
- --
some of my test emails:
=================
MIME-Version: 1.0
To: ...
Content-Transfer-Encoding: 8bit
Content-type: message/external-body; access-type=URL;
URL="http://www.example.com/file"
Date: ...
From: ...
Message-Id: ...

=================
MIME-Version: 1.0
To: ...
Subject: ...
Content-Transfer-Encoding: 8bit
Content-Type: multipart/mixed;
boundary="------------1237"
Date: ...
From: ...
Message-Id: ...

- --------------1237
Content-type: message/external-body; access-type=URL;
URL="http://www.example.com/file"
Content-Disposition: attachment;
filename="file"

- --------------1237--

=================
MIME-Version: 1.0
To: ...
Subject: ..
Content-Transfer-Encoding: 8bit
Content-Type: message/external-body;
access-type=local-file;
name="/usr/bin/firefox";
Date: ...
From: ...
Message-Id: ...

=================
-----BEGIN PGP SIGNATURE-----

iEYEAREKAAYFAk4J8qUACgkQrq+riTAIEg37LQCfdgSZ6HUQ7fhotHvG+cvDNZ1d
IRsAoMrh+SE9p7B4RwsjphTXedvjdzzw
=l9J5
-----END PGP SIGNATURE-----

Christoph A.

unread,
Jul 2, 2011, 3:12:27 PM7/2/11
to dev-apps-t...@lists.mozilla.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I submitted a bugreport for this:
https://bugzilla.mozilla.org/show_bug.cgi?id=669010

-----BEGIN PGP SIGNATURE-----

iEYEAREKAAYFAk4PbZoACgkQrq+riTAIEg37OgCeN2n/tDi/JX09YL7Ot6aL2x6c
7/gAn2/ez+XsNEhY/lqxFqf+PgCxekXZ
=RVoD
-----END PGP SIGNATURE-----

0 new messages