Changeset

4231:ee724c7fa8e0

mod_offline_email: explicitly set charset to utf-8 to override mailclients default settings
author Vladimir D. Seleznev <vseleznv@altlinux.org>
date Mon, 26 Oct 2020 16:32:07 +0300
parents 4230:495a23d61418
children 4232:908ed8f736bd
files mod_offline_email/mod_offline_email.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_offline_email/mod_offline_email.lua	Sun Oct 25 18:01:25 2020 +0100
+++ b/mod_offline_email/mod_offline_email.lua	Mon Oct 26 16:32:07 2020 +0300
@@ -32,6 +32,7 @@
 
 	local mesgt = {
 		headers = {
+			["content-type"] = 'text/plain; charset=utf-8';
 			to = address;
 			subject = subject or ("Offline message from "..jid_bare(from_address));
 		};