downloadEmail error on Save

2 posts by 1 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: August 25   (RSS)

I have encountered a new error with downloadEmail plugin.

After configuration, it worked well for a day or so. However, that was soon replaced by its downloading messages more than a dozen times.

After that, it has been failing each time, retrieving nothing and generating the error:

_mb_is_valid_encoding(): Argument #1 ($encoding) must be of type string, null given, called in /chroot/home/avisitwj/avisitwithjesus.com/html/cmsCSoft/plugins/downloadMail/downloadMail.php on line 473.

The full error message received by email is:

The following Scheduled Task did not complete successfully:

Date/Time: 2024-08-25 11:00:01Activity: Download MailSummary: Returned errorsCompleted: 0Function: downloadMail_startTaskOutput: Checking mail account: xxxxxxxx@example.com
Connecting to IMAP host: cloudvpstemplate.xxxx.example.com
Downloading 4 of 4 new messages
Downloading message #1 - UID: 102 - Message-Id: <945705112.1573113.1724580058952@nvirginia-se-email-delivery-5f58bbb4b8-phlbn>
_mb_is_valid_encoding(): Argument #1 ($encoding) must be of type string, null given, called in /chroot/home/user/example.com/html/cmsCSoft/plugins/downloadMail/downloadMail.php on line 473 in /chroot/home/user/example.com/html/cmsCSoft/plugins/downloadMail/downloadMail.php on line 473

Line 473 references the function...

472     function _mb_convert_to_utf8($string, $fromEncoding, $defaultEncoding = 'UTF-8') {
473.    $encoding = _mb_is_valid_encoding($fromEncoding) ? $fromEncoding : $defaultEncoding;
474.     return mb_convert_encoding($string, 'UTF-8', $encoding);
            }

Has anyone else encountered this behavior?