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

Subject encoding in SMTP class #274

Open
xfra35 opened this issue Apr 24, 2019 · 1 comment
Open

Subject encoding in SMTP class #274

xfra35 opened this issue Apr 24, 2019 · 1 comment

Comments

@xfra35
Copy link
Member

xfra35 commented Apr 24, 2019

The SMTP class doesn't automatically encode the Subject header.

Is that on purpose or is it a bug?

@ikkez
Copy link
Member

ikkez commented Apr 25, 2019

Probably not just implemented. I had that one on my desk some weeks ago.. it's a tricky task, tried to implement it myself, but not good idea. Best bet is to use iconv_mime_encode, if available. I ended up with this one ikkez/f3-mailer@de405dd which goes on top of this SMTP plugin, so I'll just set an already encoded Subject. Not sure though, if that's on purpose to do so.

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

No branches or pull requests

2 participants