PandaWood/ExceptionReporter.NET

Exception thrown in exceptionreport when Mailing

KlausWilly opened this issue · 2 comments

Hi togehther;

I get this exception

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

when i try to send an Report to a mailadress.

The reason is the triggering exception has CRLF in the explanation
EX: Exception from path.combine(null,path2):
Message = "The Value can not be null" & vbCrLf & "Parametername: path1"
This Message is copied into the corresponding Mail field.
But the Mail doesn't accept it !! (two lines instead of one).

Can you filter out the disturbingly characters in the next Version?

That would be fine.

Best wishes Klaus

Thanks @KlausWilly

Yes, we should parse the subject for being valid - I will label this to be fixed