mail

-Redirecting output for mail success/failure during unit testing.
-Code conformance.