Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I Have written a C# Code to send an email to Gmail with a fixed message.Iam Recieving Email and it is Working Fine.Now I want to send that message to diffferent clients based on their language(by changing languages)..how to do it?
Posted

1 solution

Hi,

As you mentioned "Fixed Message".

Add Resource : MSDN[^]

Add string type resource with an language key and the value would be your mail body then check and send mail for particular language.

Thanks
Suvabrata
 
Share this answer
 
Comments
ahmed ali mohd 31-Oct-13 3:22am    
Thanx fr ur reply..bt my problem is I have a html template and if i edit the text to french and send to gmail through a button click then the gmail inbox message is missing some characters
Suvabrata Roy 31-Oct-13 3:24am    
before send please set culture to french of that mail.
ahmed ali mohd 31-Oct-13 3:33am    
Im sending a html template to gmail..now i want the body of that template should be sent in french,so im changing its text to french(by using google translate) and sending it..bt wen i see my inbox,the french text is missing some characters (e' etc). how to solve this problem?hope im clear now..thank u
ahmed ali mohd 31-Oct-13 3:27am    
how to set culture ?since im writing the french text in html body
Suvabrata Roy 31-Oct-13 3:31am    
http://stackoverflow.com/questions/10700285/how-to-send-a-localized-email

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900