-
Notifications
You must be signed in to change notification settings - Fork 514
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
Email Recovery's content can't display Chinese charactors #269
Comments
Can you please try to add '-Dfile.encoding=UTF-8' into server line command starting and tell me if that work ? |
@Xephi I've added '-Dfile.encoding=UTF-8' into server line command starting,but it didn't work too. |
we should move it into a file. |
What do you mean @DNx5 ? |
mailText value |
Can you please try latest dev build and tell me if the email.html works ? Xephi |
Testing on it :-) |
[Craft Scheduler Thread - 3/WARN]: org.apache.commons.mail.EmailException: Invalid message supplied Authme version:#472 |
I‘ve put email.html in authme folder,and it can start up now.But,still,there's ??????????????? instead of Chinese charactors in the email I received.(Tested on adding '-Dfile.encoding=UTF-8' or not adding '-Dfile.encoding=UTF-8' and changing email.htm to 'UTF-8 no bom' or GBK . Spigot1.8.8 #186 |
Besides,image,playername,generatedpass,servername in the email.html won't work. |
Fixed, i think :') |
Got this error,seems it still couldn't creat email.html correctly(Auhtme #186):
|
I didn't know the correct format of email.html and authme also didn't create this file. |
This's what I've written in email.html (Using UTF-8):
This's the content of the email I've received:
Besides,the Chinese title of the mail I've received displays correctly.Strange. |
I've read Xephi@e781115 seems something wrong in email.html,then,another test:
This's content of the mail I've received:
|
Testing AuthMeReloaded-Dev #583,This version could creat email.html now.
This's content of the mail I've received:
|
Delete -Dfile.encoding=UTF-8 and convert email.html to ANSI format.
This's content of the mail I've received:
|
Here is a good usage of the email.html : <playername />
<image />
<servername />
<generatedpass /> By the way, i will check why Chinese charactors are not displayed correctly, try to encode email.html as utf-8 :/ |
@smartmadio Can you please try with this build : |
OK,I'll have a try |
@Xephi Test finished.The mail content could display Chinese charactors correctly now,thank you:) |
Hello,I enabled email recovery and wrote 'mailText' in Chinese Today.When I tested it ,I found all Chinese charactors in the the password recovery mail content displayed as ??? but the mail title can display Chinese charactors correctly.
(I've tried to transform coding format of config.yml into UTF-8 or GBK but it still don't work.)
Current Minecraft-Spigot version: 1.8.8
Current authme version: AuthMeReloaded-Dev #339
The text was updated successfully, but these errors were encountered: