Good day,
My VPS system is CentOS Linux release 7.6.1810 (Core), cPanel version:11.80.0.13 in a virtuozzo container. Every night the cron log is emailed to me. I view it in Microsoft Outlook. The email message has always been truncated; the last letter in the message is always a "b". When I view the message in Horde Webmail, the entire message is present, but at the place where it is truncated in Outlook, strange characters appear. In Outlook the encoding is "Western European". I changed it to "UTF-8" and suddenly the entire message appeared. I don't want to have to change the encoding every day (it is set by the sender, not the recipient), so I searched for how to change the encoding. I found a solution on serverfault dot com.
In the WHM terminal, I started the crontab editor by entering
I added an extra line at the start of the file.
The cron log message that arrived the next day displayed without being truncated.
I hope this helps someone else out. Also, perhaps someone has a more general solution to this problem.
Chris
My VPS system is CentOS Linux release 7.6.1810 (Core), cPanel version:11.80.0.13 in a virtuozzo container. Every night the cron log is emailed to me. I view it in Microsoft Outlook. The email message has always been truncated; the last letter in the message is always a "b". When I view the message in Horde Webmail, the entire message is present, but at the place where it is truncated in Outlook, strange characters appear. In Outlook the encoding is "Western European". I changed it to "UTF-8" and suddenly the entire message appeared. I don't want to have to change the encoding every day (it is set by the sender, not the recipient), so I searched for how to change the encoding. I found a solution on serverfault dot com.
In the WHM terminal, I started the crontab editor by entering
Code:
crontab -e
Code:
CONTENT_TYPE="text/plain; charset=utf-8"
I hope this helps someone else out. Also, perhaps someone has a more general solution to this problem.
Chris