Here’s an annoying little problem with a simple fix. If you are creating emails with Zend_Mail and you find that MS Outlook just can’t recognise the attachment, try setting the attachment’s filename property. This forces Outlook to see the file extension and therefore make the attachment openable. Mail.app on the Mac is smart enough to extrapolate what it needs from the Mime Type, but Outlook seems to depend on the filename. Your milage may vary but this should ensure the attachment works in most other email clients too.
Zend_Mail attachments not recognised in MS Outlook
Here’s an annoying little problem with a simple fix. If you are creating emails with Zend_Mail and you find that MS Outlook just can’t recognise the attachment, try setting the attachment’s filename property. This forces Outlook to see the file extension and therefore make the attachment openable. Mail.app on the Mac is smart enough to extrapolate what it needs from the Mime Type, but Outlook seems to depend on the filename. Your milage may vary but this should ensure the attachment works in most other email clients too.