How do PHP mail() send via Amazon SES?

Asked

Viewed 331 times

0

How to make the function mail() of PHP use my credentials on Amazon SES to send transactional emails without using lib Phpmailer or having to install and configure the postfix/sendmail for that purpose?

Is that a good practice? If not, why?

  • Take a look at the site itself of ses Amazon that there in the documentation has exactly this example of how to use with php, I’ve seen it there.

  • In the question http://answall.com/questions/65870/simples-formul%C3%A1rio-de-contact-sending-email-via-Amazon-ses-com-php/65996#65996 this theme is addressed

  • The SES of Amazon you use their own lib, is neither via mail, nor PHPMailer. And not...even if it were possible this is not a good practice. The function mail PHP is the most useless function you have in the language.

  • I usually use SQS to add emails in a queue and run a cron sending everything in the queue 1 in 1 minute through SES.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.