We help IT Professionals succeed at work.

embedding html<a href> tag in c# code

Medium Priority
556 Views
Last Modified: 2012-06-27
in the following code i am getting error <a href .....

Can any one tell m how that ?

catch (System.Exception Ex)
            {
                fromAddress = new System.Net.Mail.MailAddress("<a href="+ "mailto:donotreply@liquidhub.com"+"/>" + "donotreply@liquidhub.com</a>");
            }
Comment
Watch Question

CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Thank you

Author

Commented:
thanks
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.