Special characters are vanish in email

Posted by lakhansin-22735 under C# on 7/10/2013 | Points: 10 | Views : 787 | Status : [Member] | Replies : 1
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.

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.


Posted by: Jitendrasoft09 on: 7/12/2013 [Member] [MVP] Starter | Points: 25

Hello Lakhan,

You have to mention validateRequest =false in your page directory.

Hope you are clear..

Jitendra Kumar
If my post helps you, plz mark as an answer.

lakhansin-22735, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response