Support

Akeeba Ticket System

#36018 Fetch Email Plug In - issues with UTF8 characters and depending on the sender client

Posted in ‘Akeeba Ticket System for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Ticket System version
n/a

Latest post by schrammelmann on Wednesday, 20 October 2021 16:21 CDT

schrammelmann

Hi!

Unfortunately, another very strange behaviour.

UTF8 characters in the subject of e-mails are always displayed incorrectly in the ticket after import.

UTF8 characters in the mail body are removed when I send the e-mail via Microsoft Outlook. No matter whether in text or HTML format.

Emails sent via the web clients roundcube or gmail are imported absolutely correctly (the body, not the subject).

All mails sent via the Horde web client, absolutely nothing is imported! No matter if html or text format, no matter if UTF8 characters are included or not.

Are these effects only with me?
Do you have any idea what could be wrong with my configuration?

Thanks,
Michael

nicholas
Akeeba Staff
Manager

It all has to do with whether the mail client encodes the subject and body correctly.

Outlook does not encode UTF-8 in subjects correctly. I have not found a library in PHP which can parse its gibberish correctly.

Horde does not encode the body correctly. It encodes it as inline HTML attachments. Remember your previous ticket about uploads? HTML files are forbidden as uploads, therefore the attachment that holds the body is never uploaded. This is also why many Linux mail clients will display emails sent by Horde as blank emails with a bunch of attachments which don't open correctly. Trying to solve that breaks regular attachments so you're outta luck there.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

schrammelmann

Not nice, but I guess it can't be helped. Thank you for your expertise.

I have further problems for which I haven't created a ticket yet. But I'll spare us this, as it seems to be about security-realted cleanups as well. Because some HTML fragments that I included in the sending instance are also eliminated during the fetch email process.

Tanks a lot, regards,

Michael

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!