newline in Rackspace Cron Job email

Posted by senloe on Stack Overflow See other posts from Stack Overflow or by senloe
Published on 2010-06-08T22:27:12Z Indexed on 2010/06/08 22:32 UTC
Read the original article Hit count: 193

Filed under:
|
|

I'm running backups against multiple databases hosted at Rackspace. This is working fine. The problem I'm running into is with the results email. I'm using Response.Write to write a message to the web page which is used for logging and is also consumed by the results mail sent out by the job. The problem is I can't seem to get newlines to appear between log messages. The logfile stored on the server is correct, but only the first newline shows up in the email.
The mail is in Plain Text format so I tried using "\n" and System.Environment.Newline and neither work. I also tried using <br/> with no luck.

Does anybody have any ideas?

© Stack Overflow or respective owner

Related posts about email

Related posts about logging