Jean-Michel,
Instead of using MailLogger, which can't do attachments, try the <report> task from NAntContrib. That task makes a copy of that would normally to to the screen to a file. You can turn it on and off at will. For your purposes, you would probably "Start" it at the top of your script. Then in your mail task, you would "Close" it. The report file you specified when you started would have the entire log up to that point, and that file can be picked up by the mail task as part of the mail body or as an attachment.
Merrill
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users