lua-resty-mail
lua-resty-mail copied to clipboard
utf-8 support for subject
Everything is fine, but I noticed that the subject header does not support utf-8 when sending a mail. I have problems with "şğç..." and similar characters
I think I solved it myself until the answer came...
message.lua:135
if data["subject"] then
headers["Subject"] = "=?UTF-8?B?" .. wrapped_base64(data["subject"]) .. "?="
end