How to test php email functionality?