Integration of winmail.dat attachments - #39
Conversation
|
I'm assuming you're using a Microsoft Exchange server. Why not just disable TNEF for the EmailReporting mailbox or the whole exchange server? |
|
The EmailReporting mailbox is not on Exchange Server, only some users send reports from Exchange, and we don't necessarily have control over their email client configurations. So we implemented this workaround in the EmailReporting code we've been using for several years. |
|
Ah yes. So bad configuration on other mail servers causing issues for you. |
|
It looks good. Couple things that need improving though. |
|
Probably better to do this with native PHP code, rather than calling an external executable. Maybe https://github.com/QualityUnit/TNEFDecoder could be used for this. |
|
I think you're right @dregad. Thank you for the idea. The necessary changes have been made to the EmailReporting Experimental branch Code changes: ebd4e1c QualityUnit/TNEFDecoder added to Composer: 92da731 @Chachou41 Would you be willing to test this once this has been released (hopefully next week). I'm afraid i did not have any emails on hand with winmail.dat attachments so testing was limited and based on loose winmail.dat files. |
Sometimes outlook users send attachments "winmail.dat" which are attached as is in mantis, and hardly usable.
This extension allow conversion from winmail.dat to originals files (png, pdf, whatever)
Dependency on linux utilitary "tnef", to install separately.
No impact if "tnef" not provided does nothing