Hi freinds,
I would like to send multilanguage email from my web application. This is my idea:
1. I compile my HTML email as a normal web page, and I create the associated local resource file to "glibalize" the page, using the .NET system to write a single page in multilanguage manner.
2. I use this code to "read" all the HTML code in the page and put it in the body of the message:
' Message Body
'
Dim SB As New StringBuilder()
Dim sw As New StringWriter(SB)
Dim htmlTW As New HtmlTextWriter(sw)
Page.RenderControl(htmlTW)
'
Dim MessageBody As String = SB.ToString()
This is fine, all works. Now I would like to extend this metod to send an email for every langauge that I have defined in the resource... but I don't know how to do it!Is it possible to do or no? THANK YOU for every kind of help.Igor