afterlogic / webmail-lite-8

Open-source webmail script for existing IMAP server
https://afterlogic.org/webmail-lite-8
GNU Affero General Public License v3.0
335 stars 72 forks source link

Attachment header error #1

Closed chanhpng closed 7 years ago

chanhpng commented 7 years ago

I use MS Exchange to store email and attachments. However, when downloading attachments, it will not open. I check that the header has 3 bytes redundant as follows: "EF BB BF" header.zip Please help me fix it! Many thanks!

vasil-sokolov commented 7 years ago

Hello, these 3 bytes are BOM (Byte Order Mark). They appear in web server response if they are present in php file that's being called. In case of download any of mail attachments it is index.php. But in index.php stored in WebMail Lite 8 product's repository as well as in .zip archive we distribute, there is no BOM.

Did you make any changes in this file? Can you post here index.php from you installation?

chanhpng commented 7 years ago

Thanks vasil-sokolov! I has check sources in my server and fix it.