How can I configure PHP to send all outgoing mail to my own account so that I can test a business application without actually sending mails to unsuspecting businesses, such as "Congratulations, you have a new account. You will be billed for $xxx" ?
['https://Stackoverflow.com/questions/3346305', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/270511/']
Rather than configuring PHP, a generalized solution would be to stand up a dummy SMTP server.

See [this question](https://stackoverflow.com/questions/1006650).
You could create a Google Apps account (or use your dummy server), create a catch-all email account and have it sent to the domain. All you would have to do is look at the catch-all account.