Opened 5 years ago

Closed 5 years ago

#1485320 closed Bugs (fixed)

attachment names wrong in Outlook

Reported by: JohnDoh Owned by:
Priority: 5 Milestone: 0.2-stable
Component: Core functionality Version: git-master
Severity: normal Keywords:
Cc:

Description

Attachment name displays fine in RC but it shows as ATT00032.doc in Outlook 2003. The contents of the file is fine, when renamed to test.xls it opens fine. Similar behaviour is experienced when attaching test.jpg, shows fine in RC but as ATT00026.jpg in Outlook 2003.

PHP 5.2.0-8+etch11 all requried and optional extensions and libs installed. SMTP server: Exim4

Test message Upload-ID '20080904_201139_5'

Change History (4)

comment:1 Changed 5 years ago by smultron

Sounds similar to my bug #1485319. That is the same file name pattern (ATT0032, ATT0014, etc.) that my issue has too. I thought those names were just the original attachments until I saw this... could be RC renaming the file and the extension.

comment:2 Changed 5 years ago by arekm

Looks like #1485151 to me.

comment:3 Changed 5 years ago by alec

  • Component changed from Client Scripts to Core functionality
  • Milestone changed from later to 0.2-beta

"The problem is that Microsoft appears to have fallen on hard times as they don't seem to be able to attract an engineer that is able to implement RFC2231 attachment naming. Instead mails that use RFC2231 for attachment naming are shown in Outlook with cryptic names (ATT000...)."

We can add an option "Outlook compatible attachment names" and use rfc2047, but it needs changes in PEAR::mimePart.

comment:4 Changed 5 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [ffae15e5]. (Added mime_param_folding option)

Note: See TracTickets for help on using tickets.