Set default method to send emails as phpmailer