Sending the error report after build failed

just started to use FB so this could be a very simple question.

I have set up a nightly automatic build for a VS.net solution. What I want is to sent the build error report to myself if a build is failed. I have set up the send email actoin on "on failure", my question is how I can get the build error report and set it as the content of the email?

Since the solution cotains many projects, it will be ideal if the email conent just contains those projects that failed to build.

Thanks.

Use the Export Log Action turn on the “Only Include Error Actions” option. Then use the “Read Text File” action to load the exported log file into a variable, which you can then specify as the body of the email.

Can you please describe in more details? Thanks.