> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: maandag 21 maart 2005 19:53 > To: nant-users@lists.sourceforge.net > Subject: [Nant-users] MailLogger e-mails have wrong encoding > in Outlook > > We have our build scripts set up to send the output of the build to us > on failure - no problem there. The issue is the "encoding" that > Microsoft Outlook chooses to apply when receiving one of > these e-mails - > it applies "Western European (ISO)", which in turn means that > it misses > the carriage returns in the e-mail. > So it makes the build message output from the <solution> task virtually impossible to read. If we manually > change the encoding on each e-mail in Outlook to "Western European > (Windows)" or "US-ASCII" we get the e-mail formatted as we would like > and as it is written to the console. Obviously this is a > little annoying > to have to do on each e-mail. > > Has anyone else come across this and have a workaround? It could be an > Outlook problem rather than a NAnt one, but regardless I would love to > know what if anything can be done about it...
I think the .NET SmtpMail uses the system's ANSI code page by default, but I don't see why you'd lose carriage returns because of that. I just did a small test and the message looks good on my system (using Western European encoding). However, I just added a new property (called MailLogger.body.encoding) that allows you to configure the encoding of the body of the message (just in case you need it). Gert ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users