These day, i need to send bulk mail for our company customer. I guess mail amount will be few tens of thousands. I need to send few tens of thousands mail within 24 hours.
My existing system is using PHPMailer with gsmtp on EC2
When i tested to limit amount of send mail with below code, i could send almost 2,000 mail. Because sender mail account is G Suite account. G suite account send limit per 24 hour is 2000.
public function sendMails($mails, $template)
{
$mailer = new mailerLib(ACCOUNT, PASSWORD);
$mailer->setFrom(ACCOUNT, "sender name");
foreach($mails as $mail) {
$result = $mailer->addTo($mail['mail'])->sendMail("test", $template);
}
}
For sending few tens of thousands mails per a day, i am thinking about Amazon Simple Email Service(SES)
But i dont know there is some problem which i dont know.
Can i send few tens of thousands mails per a day with SES?
Is there any recommend to do it?