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

Email content to a document library (MOSS 2007)

Power Apps - Restricting the Text Box only Whole Numbers

Features - "You are not authorized to view this page" - Error 403