A small SMTP server for testing.  Install on a server, point your test instances to it, and it automatically re-routes your emails to another address or holds it.