Adding Updated mailer.php

Adding Updated mailer.php