Simple function to use with Amazon SES PHP Library