Mailing problem in Web application

There is one form in my web application, in which there are title, MailTo etc… fields etc I am sending mail through Microsoft outlook and extracting the contents of title field in the subject of email.

if the contents in the title field contains “&” character then the text after “&” is not displayed in the subject of mail in Microsoft outlook.

can u suggest me some solution

Subject: Mailing problem in Web application

I have encountered problems like this before because & is a special character on the web.

What worked for me was replacing & with its Hex value.

title = title.replace(“&”, “%26”)

I was doing a dblookup using javascript at the time so don’t know if this will work in your situation.

Subject: RE: Mailing problem in Web application

Thank u .My problem is solved and its working fine.

Thanks for assistance