Closed Bug 14120 Opened 26 years ago Closed 26 years ago

Empty body in Plain Text mail omits "Content-Type" header

Categories

(MailNews Core :: MIME, defect, P3)

x86
Windows 98
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: momoi, Assigned: rhp)

Details

** observed with 9/16/99 Win32 M11 build ** When we send out a msg with an empty body, we should not omit the content of Content-Type but this is what we do now. In contrast, 4.x sends out something like this: Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit 5.0 sends out: Content-Type: Content-Transfer-Encoding: 7bit This latter type of header then leads to our 4.7 showing that there exists an attachment with: Type: C Encoding: 7-bit I can't tell which is at fault but I think it would be better if 5.0 does send out at least something like: text/plain, or maybe we should follow 4.x and append the intended charset info. What do you think? (Is this intentional in 5.0?)
Target Milestone: M16
I don't see a B1-stopper user problem described here, so TFV -> M16
A couple of concerns I have about this are: 1) Sending subscription notice to Mailing lists which sometimes uses only the subject header. If the lack of Content-type has no effect, that would make me feel better about this being M14. 2) People sometime send out a msg with the subject header only, e.g. "Out till mid-afternoon (eom)". In such a case, the bug here may lead recipients to believe that there is an attachment.
Status: NEW → ASSIGNED
Target Milestone: M16 → M11
I see this and have a fix under way...should be done by later today. - rhp
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
This should be fixed with my latest checkin to: /cvsroot/mozilla/mailnews/compose/src/nsMsgSend.cpp - rhp
QA Contact: lchiang → pmock
changing QA assigned to pmock
Status: RESOLVED → VERIFIED
Verified as fixed using the following build: ftp://sweetlou/products/client/seamonkey/windows/32bit/x86/1999-11-12-18-M11/bac kup/install.exe ftp://sweetlou/products/client/seamonkey/macos/8.x/ppc/1999-11-11-11-M11/netscap e5-mac-M11.sea.bin ftp://sweetlou/products/client/seamonkey/unix/linux_glibc/2.2/x86/1999-11-12-18- M11/netscape-i686-pc-linux-gnu.tar.gz The content-type header information is present. "Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit"
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.