Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mail changes attachment extension

This is so weird... I'm sending an email with two attachments (Word 2004 documents). The file names are

Compréhension de l'écrit B, 2.doc
Expression écrite A, 1 et 2.doc

For some reason, Mail insists on appending a "0" (zero) to the file extension of the first file name, making it ".doc0"' (the second one is left intact). First, I thought it had something to do with using accented characters and commas in file names, but again, the second file name is perfectly fine and its extension does not get changed.

Several recipients use Macs, and there it's not an issue, but WIndows users have a problem because their system refuses to open the file unless they get rid of the "0" and thus restore the proper extension first.

Does anyone have a clue why Mail adds this character to the extension?

Daniel

Dual 1GHz G4 PM and 15" MacBook Pro, Mac OS X (10.5.1)

Posted on Feb 22, 2008 2:39 PM

Reply
68 replies

Apr 14, 2008 1:36 PM in response to Daniel Kiechle

And another confirmation.
Problem started appearing today (Apr 14).
I suspect that it has something to do with
- non US-ASCII letters in the filename and (possibly)
- the use of digital signatures (at least it correlates somewhat in my case)
- The format of the mail (plain text vs. rich text)

PDF files typically get a 'y' at the end.

I have not been able to pinpoint cause.

Very weird

/Anders

Apr 18, 2008 1:47 AM in response to Daniel Kiechle

Same for me. I have a MacBook Pro with Leopard 10.5.2, and I have been in trouble with false extension on Mail attachments that I send since 1 or 2 months.
PDF files get a ".pdfdf" or ".pdf00" extention, DOC files get a ".dococ", PPT ".pptpt" etc... It happens to me on 1 or 2 sent messages a week. Really weird. I recently turned from PC to Mac professionnaly, I am very happy about it, but people around me will soon be laughing about it, not talking about my professional image...
Apple, doing anything about this problem ???

Apr 18, 2008 7:35 AM in response to Daniel Kiechle

Same here. I've made tests to several Client and can confirm that the same mail is handled differently on older mail clients. Also newer clients have the problem but you do not see it.

In Apple Mail just display your sent message as View > Message > "Raw Source" and you will always see the randomly strange character regardless of what the "Original Content" view will show you.

Using foreign character gets your attachment name "Test ÄÖÜ.txt" like this

--Apple-Mail-2-439696705
Content-Disposition: attachment;
filename*=ISO-8859-1''Test%20%C4%D6%DC.txtMai
Content-Type: application/applefile;
name="=?ISO-8859-1?Q?Test_=C4=D6=DC.txt=00=00=00?="
Content-Transfer-Encoding: base64

the attachment name is "Test ÄÖÜ.txtMai". Changing the Name to "Test AOU.txt" gets this

--Apple-Mail-4-440048924
Content-Disposition: attachment;
filename="Test AOU.txt"
Content-Type: application/applefile;
name="Test AOU.txt"
Content-Transfer-Encoding: base64

all nice and clean. I suspect that the bug is related to the ISO coding and hits every time (with foreign characters) but it depends on the type of Mail client you use if you will be aware of having the problem.

Apr 23, 2008 7:17 AM in response to Daniel Kiechle

Another problem occurred now with mail on my machine.

I have replied on an email to a customer with quotes of his message. I wondered that he did not answered. So I called him and asked. He said that he just got an email with one sentence:

Am 11.04.2008 um 13:52 schrieb xyz:

nothing more. But I had written a lot underneath of the quoted text.

Now, it can be a failure of there virus and spam - system, but I like to make sure that it is not again a failure of Apple mail. If we do not know, we probably await answers from persons where the same mistake occurred and we will never know that they do not answer because there is no text in the mail? What a ****. Slowly I doubt at Apples Quality-System.

Does someone makes same experience?

CU

Apr 24, 2008 7:06 AM in response to Daniel Kiechle

Same problem here, but only for one time until today. A pdf file with an "ü" in the filename couldn't be opened by my client because the suffix changed to "pdff". After changing the suffix to pdf the file could be opened.
I checked all my mails I have sent during the last weeks – everything o.k. - all suffixes are correct exept this one mail including an "ü". One more thing: My client received the file with the suffix "pdff", in my sent-folder the suffix ist "pdf0"... no idea what happened but I´m sure the "Umlaute" (äöü) cause the problem. It must be a Leopard bug, the same problem appears using Acrobat Distiller 6 (as I do for several years without any problem) instead of 8...

Regards, Martin

Apr 27, 2008 2:06 AM in response to Daniel Kiechle

Same here with .pdf. (I never have to work with and to send .doc files.)

I'm not using spaces or accented characters in the filename.

I create the documents with Pages, export them as .pdf and send them as attachment with Mail.app. I send a copy to myself and these copies have the wrong extensions too: .pdfm, .pdff., pdft and so on. Not always but mostly, since updating to Leopard two weeks ago.

I tried sending the files as .zip. Same thing happened. They arrived as .zip0.

I will check if there is any difference using drag and drop.

Apr 27, 2008 2:02 PM in response to Ursula

I have the same problem.
I've analyzed my sent mails and I've found this problem occurs only with file names containing special characters (e.g. öüóőúéáűí) and only from 22:09 13.04.2008. Then I've checked my install logs and I've found I've installed some components on 13.04.2008. I copy some parts of this log to here, and I can send all of it, if somebody needs it. (It woul be too long here, but not too long in a mail to analyze it.

install.log.0:
Apr 13 19:47:08 dsl54008371 Software Update[275]: JS: 10.5.2
...
Apr 13 19:47:22 dsl54008371 Software Update[275]: JS: model = MacBookPro3,1
Apr 13 19:47:22 dsl54008371 Software Update[275]: JS: 10.5.2
...
Apr 13 19:47:53 dsl54008371 Software Update[275]: Found receipt (full match) for (PluginManager / com.apple.pkg.PluginManager): (PluginManager / com.apple.pkg.PluginManager)
Apr 13 19:47:53 dsl54008371 Software Update[275]: Found receipt (name match) for (PluginManager / autoPluginManagerSU): (PluginManager / com.apple.pkg.PluginManager)
Apr 13 19:47:53 dsl54008371 Software Update[275]: JS: Firmware is up to date.
Apr 13 19:47:54 dsl54008371 Software Update[275]: JavaScript error "Undefined value" while running " _choice_suvisible"
Apr 13 19:47:54 dsl54008371 Software Update[275]: _choice_suvisible returned error: Undefined value
...
Apr 13 19:48:00 dsl54008371 Software Update[275]: Found receipt (full match) for (Keynote_403 / com.apple.pkg.Keynote_403): (Keynote_403 / com.apple.pkg.Keynote_403)
Apr 13 19:48:01 dsl54008371 Software Update[275]: Found receipt (name match) for (FrontRowUpdate2.1.3 / auto): (FrontRowUpdate2.1.3 / com.apple.pkg.FrontRowUpdate2.1.3)
Apr 13 19:48:11 dsl54008371 installdb[283]: done. (0.027u + 0.013s)
...
Apr 13 20:08:13 dsl54008371 /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer[319]: vm_allocate: 0, 0x5000000 - 0x25000000
Apr 13 20:08:13 dsl54008371 /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer[319]: vm_protect: 0
Apr 13 20:08:13 dsl54008371 Installer[319]: @(#)PROGRAM:Install PROJECT:Install-378
Apr 13 20:08:13 dsl54008371 Installer[319]: @(#)PROGRAM:Installer PROJECT:Installer-278
Apr 13 20:08:13 dsl54008371 Installer[319]: Hardware: MacBookPro3,1 @ 2.20 GHz (x 2), 2048 MB RAM
Apr 13 20:08:13 dsl54008371 Installer[319]: Running OS Build: Mac OS X 10.5.2 (9C7010)
...

Apr 29, 2008 12:16 PM in response to Daniel Kiechle

Greetings! I've been using the latest Leopard update since it came out. Today, Apr 30, is the first time that I've had this problem. I've tried sending a PDF "week-end prép.pdf" and sometimes it works, sometimes not. To a whole list of people, mostly windows users, only one so far has been able to open it. But, it is possible that he saved the attachment eliminating the () at the end. The one mac user had no problems. This is VERY VERY annoying. This must be fixed rapidly.

Although, I'm glad that I'm not the only one having a problem. If someone knows a work-around, I would be glad to learn of it!

Apr 29, 2008 2:00 PM in response to rminot

The only workaround that works for me is to use attachment names that do not include foreign characters or even spaces. This seems to work for most, but I don't think all people. In the example you gave, a file name of "week-end_prep.pdf" (no accent on the "e" and no space) would probably have worked. Of course, the attachment is perfectly fine; Windows users can just save the file to disk and as long as the fix the extension, they will be able to open it. But yes, this is really, really annoying.

Daniel

May 8, 2008 10:20 AM in response to Daniel Kiechle

Hi !

I'm a new Mac user, very happy to use it, but since a few days i experienced the same problem : .pdf files -> .pdfdf for example !

After testing file names without accent, all seems to be OK. I tested it succesfully with my old PC.

It was difficult for me to understand this kind of problem, because in France using accents ( é è ë ï î û etc ... ) is very natural !

Thank you anyway for your help ! To you all !

Best regards,

Palq

May 22, 2008 9:32 AM in response to Daniel Kiechle

I found it! Why the extension changes.

It has to do with signatures!

When you place the PDF file just above the signature (or I guess inside), the extension changes name!

This is my signature:


_____________________
Jonatan 'Kip' Kipowsky

0709-XX XX XX
kip@xxxxxxxxxx.se

Since I have TWO enters (for the air) above the line above my name, when I place the PDF file just above the line I place it INSIDE the signature.

I tried it high above the line and just over. Every time I placed it over, it changed the name, to .pdfdf and such.

How did I find out?

I used at PDF file with spaces in the name, foregin letters (swedish), two different mail servers (smtp) and sent to two different adresses (yahoo.se and my own). I tried with text and without text in the mail. Tried waiting, so the message would be auto-saved and without. Tried all different ways. Yes, friends. For an hour I had no life! 🙂

Regards,

Kip

Mail changes attachment extension

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.