PEAR mail with Amazon SES on EC2
I'm trying to setup UE on a new EC2 instance on AWS. I've made sure that PEAR is installed and working properly and tested the settings with SES. I created a test page with a simple pear email, but it gives me a 500 error.
My mail settings are:
$WA_MailObject = WAUE_Definition("","email-smtp.us-east-1.amazonaws.com","25","smtp_username","smtp_password","true","Amazon SES","","");
I also verified the path is correct with this:
<?php
require_once 'Mail.php';
var_dump(class_exists('Mail', false));
?>
It returns: bool(true)