Posted: Fri, 26/02/2010 - 11:24
Filed under: Drupal, devel
There's a module for that... devel has a setting at admin/settings/devel to switch Drupal mail to log emails instead of sending them out. Set "SMTP library" to "Log only". Puts useful debug data into $messages, too.