I have some unit tests in my Django 1.2.4 app. One of the tests needs to verify that emails are sent under certain conditions. How can I do this?
Ideally it'd be programmatic, but it'd also be nice to print the email body out to the console.