Akeeba Ticket System

#36016 Fetch Email Plug In - attachment with UTF8 characters

Posted in ‘Akeeba Ticket System’
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
PHP version
Akeeba Ticket System version



Recently I migrated our ticket system from MaQma Helpdesk to Akeeba Ticket System. Retrieving emails is an important use case for me, but I am having some problems with it. I try to split my issues into separate tickets.

When I send an attachment with UTF8 characters in the filename via email to the ticket system, e.g. an image file, the mail is imported but not the attachment.

I did some research and I could imagine that the problem is the Joomla Media Manager not accepting the filename.

If I am correct, could the filename be converted to a random or an ASCII name in the plugin during import?

Many thanks in advance for your effort!


Akeeba Staff

The filename is converted to a random name. We do not store attachment with their original name. But that's AFTER we ask Joomla to do the pre–upload checks.

The problem is that the original filename check is part of the security check for uploading files to Joomla. This is implemented in Joomla's core code, namely Joomla\CMS\Helper\MediaHelper::canUpload, lines 224–229 in Joomla 3.10.2. If the filename contains any non–ASCII characters it is immediately rejected. 

Unfortunately, we cannot remove that check nor can we tell Joomla to NOT mind the filename — the original file name is required for the security checks which include double extension tests and content tests depending on file extension and file type. Removing this check completely would allow uploading unsafe content to your site.

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!


Thank you for your very good explanation.

Instead, I have to instruct my clients accordingly.





Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!

Summer vacations: Our support will be closed for replies and new tickets from August 6th to August 21st, 2022 due to summer vacations.