Closed Bug 251485 Opened 20 years ago Closed 20 years ago

attachments are incorrectly MIME encoded on sent mail if a file association is set

Categories

(Thunderbird :: General, defect)

PowerPC
macOS
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 244618

People

(Reporter: pxc, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040623 Camino/0.8
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040623 Camino/0.8

When I send some attachments, the outgoing MIME is incorrect and can't be parsed
by Thunderbird or Mail on the receiving end.  The attachment is actually there
in the message, but it cannot be parsed and is considered 0 size by apple Mail.
 I also get a "Unable to save a copy to the Sent folder" from thunderbird when
the mail is sent.  After further investigation the problem only occurs if the
outgoing attachment has a file association set (Preferences -> Attachments ->
File Types).  Weird I know, but I remove the file association and my problems
are solved.

Reproducible: Always
Steps to Reproduce:
1.Set up file assocition for a particular file time (e.g. .txt or .doc)
2.Send a message (e.g. to yourself) with that attachment (html or plain, doesn't
matter)
3. You'll get the "cannot save to sent folder" error.
4. Receive the email, and thunderbird does not list the message as having an
attachment.
5. Try another receiving mail program, and the attachment is incorrectly encoded.
6. Look at the message raw source, and you'll see the attachment is in the body.

Actual Results:  
As described above, I tried a bunch of things before figuring out that the
problem was with the file associations.
Also tried with Thunderbird 0.7 (instead of 0.71).  Same problem.

Expected Results:  
Worked.

As a developed, this sounds a little far fetched, since the associations are
presumably only supposed to be used on the receiving end.  But trust me on this,
try it for yourself.

BTW, setting up associations is not obvious on OS-X.  From memory I had to send
a file with an attachment, and double click on the attachment on the receiving
end to let the OS sort out the required app.  This magically sets the
association for you in Preferences -> Attachments.

Due to this bug, this means I'm going to have to save all attachments to disk
and then open them, otherwise an unwanted association is going to be set up that
will cause be grief in the future.
I think this is a dupe of bug 244618.  I'm not sure exactly what sort of 
associations you're setting up under the Mac -- associations to a MIME type, or 
to an application?  The former are not obvious under Windows, either.
No response from reporter, duping.

(In reply to comment #0)
> I also get a "Unable to save a copy to the Sent folder" from thunderbird when
> the mail is sent.

This is almost certainly unrelated; there are actually a large number of bugs 
about this symptom.

*** This bug has been marked as a duplicate of 244618 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.