There's an automated email an application generates, that we've found a
wierd processing bug(?) with in .net 2.0
The app has the following lines. There are 20 lines above that use
"\n\r" that wrap just fine:
[20] message.Body += "EONE\n\r";
[21] message.Body += "Name [{0}] Reg# [{1}] Owner [{2}]\n\r";
[22] message.Body += "Association [{1}] ADOwner [{4}] \n\r";
and then mails the message. The wierd part is line 20 processes the
"\n\r" and wraps the line however, the "\n\r" are ignored on lines 21
and 22. The line comes out in a single continuous line. The [(0)]'s
need to be in there for an application to process the message. If I
remove the [(0)]'s the line wraps! Putting them back in the lines does
not wrap.
What would c# be doing with the "[(0)]" as it shouldn't try to process
them. With the [(0)] it doesn't process the "\n\r" and without the
[(0)] it works fine. Wierd eh?