Replaced PHP's naitive mail() with PHPMailer, due to AWS SES smtp requirements.