I setup mail piping throw pipe.phpMy PHP doesn't have imap extension (it is required only for mail fetching).In includes/class.mailfetch.php in function mime_decode() you are using: imap_mime_header_decode() and imap_utf8() without checking if they exist.In my system they does not exist, so I got empty subjects (mail body is correct).I only have iconv and mbstring extensions.Could you fix mime_decode function, please?

osticket_info.jpg

Before I ask the devs to take a look at this please read and follow the posting guidelines. Please help us to help you by reading and following the posting

guidelines located in this thread: Please read before requesting assistance.  The more information you give us the better we will be able to assist you. Thank you. Of course if you are right, you could alleviate the issue by enabling the php_imap module.

Screenshot with configuration was added - not sure why it is gone.I cannot enable imap module, because it is not installed (and cannot be installed on that server).blank

osticket_info.jpg

I've asked the devs to take a look at this thread.I find it likely that they will simply come back with osTicket now require the PHP IMAP module to be installed.

Jacek,I'm confused. You cannot do fetching unless you have the `imap` extension. Instead, you'll have to do mail piping, which does not use the mail fetch code to do character set transcoding. Instead, it uses code in the class.charset.php file.Could you post a raw email with headers for and email resulting in an empty subject so I could test it on a system without the imap extension installed?Cheers,Jared

Write a Reply...