Use mailcatcher with PHP.