[Enhancement]: Add basic SES code examples for PHP
Background story
There are no PHP examples for SES (simple email service). The document feedback channel for PHP Dev. Guide docs, received a request for a basic 'send an email example'.
The PHP dev. guide contains some guided examples for SES, which we are ultimately trying to get rid of, but it contains no example for sending an email.
Rather than hard code an example, we should create it an distribute in using the code example teams SOS process.
What does this example accomplish?
Shows a basic code example of sending an email using SES. Other basic should also be added to add parity to the other SDK language SES examples.
Which AWS service(s)?
SES
Which AWS SDKs or tools?
- [ ] All languages
- [ ] .NET
- [ ] C++
- [ ] Go (v2)
- [ ] Java
- [ ] Java (v2)
- [ ] JavaScript
- [ ] JavaScript (v3)
- [ ] Kotlin
- [X] PHP
- [ ] Python
- [ ] Ruby
- [ ] Rust
- [ ] Swift
- [ ] Not applicable
Are there existing code examples to leverage?
None for sending an email.
Here are other guided examples.
Do you have any reference code?
No.
@tkhill-AWS Do any of the examples here: https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/php/example_code/ses work for your need? They're several years old, so I'm not sure what their quality level is.