Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utf-8 support for subject #8

Open
alfasmartplayer opened this issue May 14, 2023 · 1 comment
Open

utf-8 support for subject #8

alfasmartplayer opened this issue May 14, 2023 · 1 comment

Comments

@alfasmartplayer
Copy link

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

@alfasmartplayer
Copy link
Author

alfasmartplayer commented May 14, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant