I have two email-sending processes. Both are seemingly the same but they produce different results. Both use MIME::Lite.
One sends emails immediately, the other is for larger numbers of emails and consists of an email queue held in a MariaDB database. The sending script runs every 20 minutes from CRON. The body text for both gets to them from an HTML textarea and they have been tested using identical body text.
If we add an emoji character to the body text, the queue sends it correctly. But the immediate sending script produces ��� instead of the emoji.
As far as I can tell the only differences between the scripts is that one runs under CRON and stores and retrieves the body using a database. Other than that they seem identical.
Both scripts use utf8;
I am at a loss how to debug the problem...what would you try to get to the root of this problem?
In reply to Character encoding in emails by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |