Special characters are vanish in email

Posted by lakhansin-22735 under C# on 7/10/2013 | Points: 10 | Views : 1498 | Status : [Member] | Replies : 0
Hello Everyone,

As per one functionality I'm sending email to the corresponding recipients and also shows it to the ASPX page at runtime.
And sometime that email having special characters like <, > etc. by using below code its fine at ASPX, but in email its not working.
Server.HtmlEncode(emailText)


In short I want to send a text like this <This is related to previous document>

Please, suggest me.

Thanks in Advance.

Lakhan Singh
Tech Lead
BeyondKey System Pvt. Ltd.
Indore, M.P.
India



Responses

(No response found.)

Login to post response