Closed Bug 419837 Opened 16 years ago Closed 16 years ago

Problem when sending CAD file attachments.

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: rob, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Build Identifier: version 2.0.0.12 (20080213

When I attach CAD files (.DXF, .STP...)the body of the email grabs a text version of the attachment and sends it along with the attachment. If I ZIP the CAD file before attaching I do not have this problem.

Reproducible: Always

Steps to Reproduce:
1.select address
2.attach cad file
3.send
Actual Results:  
CAD file is received in the format sent but the body of the email also contains a very large text file version of the attachment

Expected Results:  
Just the CAD file in the form it was attached should be received.

If file is Zipped before attachment the problem goes away.
Bug 65794? (Try the workarounds in that bug.)
(In reply to comment #0)
> Windows NT 5.1;
 
> When I attach CAD files (.DXF, .STP...) the body of the email grabs a text
> version ...

According to following page,
> http://www.utoronto.ca/webdocs/HTMLdocs/Book/Book-3ed/appb/mimetype.html
mime-type for .dxf is image/vnd.dxf & image/x-dxf

(Q1) What mime type is set in your Windows registry?
  HKEY_CLASSES_ROOT\.dxf  "Content Type"
  HKEY_CLASSES_ROOT\.stp  "Content Type"
(Q2) Is there any .dxf related entry in "Download Actions"?   
  Tools/Options/Attachments/Download Actions/View&Edit Actions
FYI.
Older(perhaps) mime-types such as application/dxf can be seen at following page.
> http://filext.com/file-extension/DXF
If the file contains textual information and no other definition on that file type is available, it would probably go out as text/plain attachment.

You can look into bug 244618 for some information how the MIME definitions are handled, and a link to the MIME Edit extension for a more user-friendly interface to those definitions. The correct content type may prevent the display as text on the receiving end.
Whiteboard: dupeme
Resolving this due to the lack of further input from the reporter. This could be related to a any of the known issues with content disposition or wrong MIME assignments, thus inconclusive. Please feel free to reopen if you have further information or feedback to provide.

-> INCOMPLETE
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
Whiteboard: dupeme
8 years later and using 45.2.0 - still the same problem
When sending .dxf or .dwg TB insists that they are text and wants to use Notepad to open them.
It also includes the text version of the attachment in the body of the email...
Definitely not resolved
You can deal with this problem with some "protetic" actions:
Go to TOOLS -> OPTIONS -> Attachements -> Incoming
find text (plain text; .txt) on the content list and delete it.
Of course it's not the elegant of solution but it works.
You need to log in before you can comment on or make changes to this bug.