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

Power Apps toPower Automate Error - The input body for trigger 'manual' of type 'Request' did not match its schema definition , the input String does not validate against the date