The specified string is not in the form required for a subject

Error Message: The specified string is not in the form required for a subject

Solution : Subject = subject.Replace('\r', ' ').Replace('\n', ' ');

Note: occurs with smtp related c# code

Comments

Popular posts from this blog

Linksys Wireless Connection Failure

The security validation for this page is invalid. Click Back in your Web

Access Denied Host Header Sharepoint 2010 Windows Server 2008 R2