I am using Amazon SES in my project to send transactional emails. Until then I configured the framework to connect directly via SMTP using my Amazon SES credentials, but I saw that it is not a good practice because for every request I request, the PHP server is waiting for a connection to the SMTP server instead of queuing the emails and return the HTTP request as soon as possible.
For this, should I use a local MTA server such as SendMail or Postfix and configure it to send through Amazon SES?
When using direct SMTP connection and when using a local MTA for this purpose?