Hello.
VirtueMart 4.0.6 10690, Joomla! 4.2.4
In older VM version this problem does not exist.
File: /components/com_virtuemart/helpers/shopfunctionsf.php
Line 877:
'=?utf-8?B?'.base64_encode($subject).'?='
If you use PHP MAIL for sending emails, this code breaks the subject, because you are trying to hack PHPMailer wrapper, which does the same. Actually, Using the Joomla! mailer, you do not have to encode the subject. The Joomla mail wrapper does this work by itself. Please, fix this bug, because with this code I have mail subjects in my inbox like: =?utf-8?B?0J3QvtCy0YvQuSDQt9Cw0LrQsNC3IFs5MzIwXTog0LrQu9C40LXQvdGCINCi0LXRgdGCIOKAkyDRgdGD0LzQvNCwIDI1NDAwINGA0YPQsQ==?=
https://forum.virtuemart.net/index.php?topic=148809.0 suggests also stuff like that.
As far as I know the right solution is to add mb_decode_mimeheader. Please test our most recent RC https://dev.virtuemart.net/attachments/1338/com_virtuemart.4.0.7.10730_package_or_extract.zip
Yes, it's working. Thanks.