+ Start a Discussion

email subject encoding problem

I have written an apex email function by using Messaging.SingleEmailMessage class.


We have translated system into Japanese and the end user system is in Japanese; however, the subject of sent email shows ???? question mark which doesn't display properly. The email body does display properly.


Any idea how to encode email subject and make it display properly?



Vishwas AbhyankarVishwas Abhyankar
Even I am facing the same problem. The problem started occuring after the sandbox refresh. admin please post a solution to this problem.
Email body is going with Japanese encoding but if subject line contains Japanese characters the ????? symbols are coming.