For a simple contact form I want to use Amazon SES with PHP. Basically PHP will send an email to myself with the email of the user who contacted me to give an answer.
Searching, I came across the following alternatives:
Questions:
For a simple contact form I want to use Amazon SES with PHP. Basically PHP will send an email to myself with the email of the user who contacted me to give an answer.
Searching, I came across the following alternatives:
Questions:
The three alternatives work, however you should consider the need for application strength and the amount of shipping.
In alternative 1, your system is directly connected to the Aws SMTP and is blocked while the send list operates, while the 2 and 3 options the system delegates to Local mail service the task of communicating the message queue to AWS, which can happen very quickly and release the system to follow up on other activities.
For a simple system like the contact form, use the 1 option but for transactional messages from an application I recommend a more robust structure like the 3 option you mentioned.