diff mod_offline_email/mod_offline_email.lua @ 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 bd71c97de1d0
children
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));
 		};