=== Nanomailer for AWS SES ===
Contributors: expandops
Tags: aws, ses, amazon, email, wp_mail
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 8.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html  

A lightweight plugin that sends all WordPress emails via Amazon Simple Email Service (SES) to improve deliverability and reliability.

== Description ==

**Nanomailer for AWS SES** is a streamlined WordPress plugin that routes all emails sent using `wp_mail()` through [Amazon Simple Email Service (SES)](https://aws.amazon.com/ses/) — a highly reliable, scalable cloud-based email platform.

It supports Contact Form 7, Gravity Forms, WPForms, and any other plugin that uses the standard WordPress mailing function. Nanomailer handles the full process of authenticating with AWS, preparing email headers, and securely delivering messages through the SES API.

There is no bloat or unnecessary overhead. It’s built with a focus on speed, clean integration, and minimal configuration. When removed, it leaves behind no database clutter.

== External Services ==

This plugin connects to **Amazon Simple Email Service (SES)** in order to send emails.

- **Service used:** Amazon Simple Email Service (https://aws.amazon.com/ses/)
- **What is sent:** When a WordPress email is triggered using `wp_mail()`, the plugin sends the email message (recipient, subject, body, headers) to the SES API endpoint for delivery.
- **When:** Only when an email is sent using `wp_mail()`.
- **Where:** To the regional SES API endpoint (e.g. `https://email.eu-west-1.amazonaws.com`), depending on your configuration.
- **Is an account required?** Yes, you must have an active AWS account with SES access and a verified email/domain.
- **Terms & Privacy:**  
  - [AWS Terms of Use](https://aws.amazon.com/service-terms/)  
  - [AWS Privacy Policy](https://aws.amazon.com/privacy/)

== Installation ==

= Requirements Before Installing =
1. An AWS account
2. A verified email or domain in SES
3. An IAM user with the `ses:SendEmail` permission
4. Access Key and Secret Key for that user

= Installation Steps =
1. Go to Plugins → Add New in your WordPress dashboard
2. Search for "Nanomailer"
3. Click **Install Now**, then **Activate**
4. Go to **ExpandOps → Nanomailer for AWS SES** to configure

= Configuration =
1. Add the following to your `wp-config.php` file (replace `<KEY>` with actual values):

define( 'NANOMAILER_AWS_ACCESS_KEY', '<KEY>' );
define( 'NANOMAILER_AWS_SECRET_KEY', '<KEY>' );

2. In the plugin settings:

- Select your SES region
- Enter one or more verified SES identities
- Enable Route All wp_mail() Emails to AWS SES
- Use the built-in test tool to confirm successful setup

== Frequently Asked Questions ==

= Does Nanomailer work with other mailing functions? =
No. Nanomailer only overrides the built-in wp_mail() function. Emails sent via other libraries (like PHPMailer directly) are not handled.

= Does it store or log email content? =
No. Nanomailer does not store, log, or retain any email content or headers after sending.

= Are any emails sent without my knowledge? =
Never. Emails are only sent when your WordPress site triggers wp_mail().

== Changelog ==

= 1.0.0 =
Initial release