MailSystem.NET
MailSystem.NET copied to clipboard
Last char of subject is ')'
If the last character of the message subject is ')', it is truncated when reading the subject property
I think to change the function StripComments to:
private static bool StripComments(ref string input) { var isSurroundedByComments = input.StartsWith("(") && input.EndsWith(")"); if(isSurroundedByComments){ input = input.Trim('(', ')'); } return isSurroundedByComments;
}