Closed
Bug 15577
Opened 26 years ago
Closed 26 years ago
Plain text mail attachments come empty
Categories
(MailNews Core :: Backend, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: marina, Assigned: rhp)
Details
Sent from 5.0 plain text attachments are coming with an empty body.
Steps to reproduce:
-open new mail;
-click attach icon and attach local file(plain text);
-send it and get it;
//note: even though the attachment is mentionned you do not see one, body is
blank
Marina - is this M10 branch or M11 trunk builds? I think Kat may have filed
some bugs on this?
Comment 2•26 years ago
|
||
This problem is observed with 10/3/99 Win32 M10 candidate build.
I don't think I have filed any similar bug on this problem. This
seems like something which should go to rhp.
Actually the problem is that when 5.0 sends out plain text attachment,
it creates the following type of headers for the multipart attachment.
----
Content-Type: multipart/mixed;
boundary="------------020908070601040906050707"
This is a multi-part message in MIME format.
--------------020908070601040906050707
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
plain text NS home page
-- This message was sent by Messenger 5.0
--------------020908070601040906050707
Content-Type: application/octet-stream;
name="home_netscape_com.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="home_netscape_com.txt"
...
...
------------------------------------------
Note the "application/octet-stream" which prevents 5.0 from showing
this inline. It seems that we don't have a way to display this type
of attachment in 5.0 right now even though the attachment icon is
visible and shows that there is an attachment.
In contrast, if we send the same .txt file with 4.7, we get the following:
--------------------------------
.....
.....
--------------8975A9AB49880AE2ABFFC25A
Content-Type: text/plain; charset=iso-8859-1;
name="home_netscape_com.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
filename="home_netscape_com.txt"
.....
.....
--------------------------------
So we should do probably 2 things:
1. Generate the headers like 4.7 as we send out plain text attachments,
not "application/octet stream".
2. Have the attachment link be active and do something like prompt
to save when this type of headers are present. Currently the
attachment link does nothing.
Note that "Save attachment" button does work and you can save such
files.
Updated•26 years ago
|
Assignee: phil → rhp
Comment 3•26 years ago
|
||
Reassign to rhp. Maybe a dup of 15538?
Comment 4•26 years ago
|
||
No, this is not related or duplicate of Bug 15538 in which
no mail goes out and the app hangs if there is HTML attachment.
This one goes out but with inappropriate headers for
the multipart.
| Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 5•26 years ago
|
||
I'd love to know what the heck is changing around here to make stuff that
worked 6 weeks ago before my sabbatical started all of the sudden break.
I'll look into this after I look at the other 50 things that also don't seem to
work anymore....
Boy am I glad I came back...grrrr....
- rhp
| Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 6•26 years ago
|
||
I just checked in a fix for a problem with Plain text mail compose and I've
tested several text attachments and they are all working for me.
- rhp
it is not empty any more but has an i18n problem described in # 15766. This bug
was entered for the empty body and i guess i can mark it verified. The other
problem has already a bug report so will be taking care of. Verifying with
1999-10-13-M11 build
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•