-
Notifications
You must be signed in to change notification settings - Fork 8
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
Unable to specify charset for Content-Type header #14
Comments
That is a problem. It should be possible to set the charset, but if I remember correctly Zend\Mail made that pretty difficult to do. If it doesn't, you can use the body returned by ps: You can specify the mime-type, too. It only guesses when you don't supply one. |
You are right - when I do
i get this in the header of the email
Which is precisely what I needed. |
I would like to keep this issue open, so I can implement something a bit nicer at some point. |
I forked the repos and added the charset config support |
@manuscle If it works would you mind submitting a PR? |
@manuscle bump? |
Mime type is automaticly guessed by SxMail. When the mimetype is text/html hoewever we are unable to specify a charset, which may result in incorrectly characters.
Workaround seem to be to use htmlentities within the view as setting the Content-Type via the header result in two Content-Type headers. Apple's Mail uses the first one mentioned in source, which is not mine.
The text was updated successfully, but these errors were encountered: