Title: Gnaritas Amazon SES
Author: David Santucci
Published: <strong>17 Novembre 2017</strong>
Last modified: 22 Ottobre 2019

---

Ricerca i plugin

Questo plugin **non è stato testato con le ultime 3 versioni principali (major releases)
di WordPress**. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare
problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

![](https://ps.w.org/gnaritas-amazon-ses/assets/icon-256x256.png?rev=1769805)

# Gnaritas Amazon SES

 Di [David Santucci](https://profiles.wordpress.org/dsantucci/)

[Scarica](https://downloads.wordpress.org/plugin/gnaritas-amazon-ses.zip)

 * [Dettagli](https://it.wordpress.org/plugins/gnaritas-amazon-ses/#description)
 * [Recensioni](https://it.wordpress.org/plugins/gnaritas-amazon-ses/#reviews)
 * [Sviluppo](https://it.wordpress.org/plugins/gnaritas-amazon-ses/#developers)

 [Supporto](https://wordpress.org/support/plugin/gnaritas-amazon-ses/)

## Descrizione

This plugin sends WordPress site email through Amazon’s Simple Email Service (SES)
and can optionally monitor bounce and complaint notifications through Amazon’s Simple
Notification Service (SNS) and suppress sending email to bounced or complained addresses.
The plugin also logs bounce and complaint notifications and can export the saved
data in CSV format.

### Requirements

 * PHP >= 5.5
 * OpenSSL PHP extension
 * Amazon Web Services account

### To install:

 1. Upload files to the WordPress plugins directory.
 2. Activate in the plugins admin page.
 3. Set up configuration as described in the “Configuration” section.

_Note_: This plugin includes Amazon Web Services SNS Validator v1.4.0 and AWS SDK
for PHP 3.36.19. If you are using other plugins that use these AWS libraries, these
may conflict with the versions in use with those plugins. It is not recommended 
to use this plugin with other plugins using the AWS PHP SDK, SNS Validator or any
of their dependencies.

### Configuration

### In AWS:

#### IAM

The plugin requires an Identity and Access Management (IAM) user with API access
and the following permissions:

 * SES permissions:
    - SendRawEmail
    - SetIdentityNotificationTopic
    - SetIdentityFeedbackForwardingEnabled
    - GetIdentityVerificationAttributes
 * SNS permissions:
    - CreateTopic
    - DeleteTopic
    - Subscribe
    - Unsubscribe

#### SES

 * Make sure you have at least one verified “identity” (i.e. email address or domain)
   through which to send email.
 * Make sure your account is out of the [SES “sandbox”.](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/request-production-access.html)

### In WordPress:

 * Enter the following in “SES Settings” admin page (under the “Amazon SES” admin
   menu):
    - **From address**: The email address to send mail from. This address or its
      domain should be verified in Amazon SES. (Defaults to WordPress’ admin email.)
    - **From name** (optional): The name associated with the from address. (WordPress’
      default is “WordPress”.)
    - **Host**: The AWS SMTP endpoint through which to send mail. Available SMTP
      endpoints are listed here: [http://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-connect.html](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-connect.html).
      Choose the one for your SES region.
    - **Port**: The port on which to connect to the SMTP endpoint. Currently supported
      ports include 25, 465 and 587.
    - **Access key ID, Access key Secret**: The access key ID and secret access 
      key for the IAM user you’re using to send email.
       * **Note**: SMTP credentials created using the SES control panel’s “Create
         My SMTP Credentials” will not work. If you’re using an IAM user that was
         created this way, you should create a new access key for them in the “Security
         credentials” tab on their IAM configuration page and use those credentials.
       * **Security note**: If your WordPress site doesn’t use https, the secret
         access key will be vulnerable to interception by third parties when submitting
         or viewing the SES settings page. It is _not_ exposed when sending email
         or accessing the AWS API.
    - **SES Region**: The identifier for your SES account’s region. Supported regions
      are listed here: [http://docs.aws.amazon.com/general/latest/gr/rande.html#ses_region](http://docs.aws.amazon.com/general/latest/gr/rande.html#ses_region).
      Use the value in the “Region” column (e.g. “us-east-1”).
       * **Note**: If you are using the plugin to handle bounces and complaints,
         your Simple Notification Service (SNS) region must be the same as your 
         SES region.
    - **SES Identity Type**: Choose “Email” or “Domain”.
    - Choose whether or not you’d like the plugin to suppress email to bounced or
      complained recipients
 * On submission, the plugin will verify your Amazon SES identity and send a test
   email to the SES simulator. If successful, WordPress will send email through 
   Amazon SES.
 * If you opted have the plugin suppress email to bounced or complained addresses,
   bounce and complaint notifications for your SES identity will be handled by the
   plugin.
 * If email sending fails unexpectedly, the plugin will stop attempting to send 
   email through SES and revert back to WordPress’ default email handling. This 
   will also stop suppression of email to bounced or complained addresses.
 * To resume sending through Amazon SES, verify your settings on the settings page
   and click “Save Changes”. The plugin will attempt to verify your SES identity
   and send a test email, and if successful, resume sending through SES.
 * The plugin displays notifications indicating its current email and bounce handling
   state on its admin pages and on the WordPress admin dashboard.

### Sending Test Email

You can send a test email using the current configuration from the WordPress admin
panel under “Amazon SES > Test Email”.

### SNS Notifications and Bounce/Complaint Handling

If you opt to have the plugin suppress email to bounced or complained addresses,
bounce and complaint notifications from Amazon Simple Notification Service (SNS)
will be recorded in the WordPress database. You can view the notifications and export
them in CSV format in the WordPress admin panel under “Amazon SES > SNS Notifications”.

While the plugin is active and email suppression is in effect, email will be suppressed
to addresses associated with any “Complaint” notification or a “Permanent” bounce
notification. Bounces of type “Transient” are recorded but will not result in suppression
of future email.

## Screenshot

[⌊Main configuration page.⌉⌊Main configuration page.⌉[

Main configuration page.

[⌊SNS notification listing.⌉⌊SNS notification listing.⌉[

SNS notification listing.

## FAQ

  Why would I want to use Amazon SES to send email?

Email sent directly from the web server using sendmail or a local SMTP server is
more likely to be flagged as spam. If your website does things like send out alerts
to users when new content is posted, you may run also into restrictions on email
limits imposed by your hosting provider. Using a reputable provider like Amazon 
ensures prompt, reliable delivery of your site’s email.

 There are other plugins that work with Amazon SES. Why should I use this one?

Gnaritas Amazon SES not only sends email through SES, but can also track bounce 
and complaint notifications and suppress email to which delivery has failed. This
helps to protect your reputation on Amazon by avoiding sending repeated emails to
bad addresses. You can also export bounce and complaint notifications in CSV format.

 How do I set up an IAM user in AWS with the necessary permissions to send email
and register bounce and complaint handlers?

If you’re unfamiliar with IAM, you can use the following recommended procedure to
create a user with the necessary permissions:

 1. Create an IAM policy with the required permissions:
 2.  * From the IAM dashboard, click “Policies” in the left-hand navigation
     * Click “Create Policy”, and then “Select” under “Create Your Own Policy”
     * Enter a name for the policy (e.g. “SesSendAndSetNotifications”) and an optional
       description
     * Enter the following JSON policy definition under “Policy Document”:
 3.     ```
        {
            "Version": "2012-10-17",
            "Statement": [
                {
                    "Effect": "Allow",
                    "Action": [
                        "ses:SendRawEmail",
                        "ses:SetIdentityNotificationTopic",
                        "ses:SetIdentityFeedbackForwardingEnabled",
                        "ses:GetIdentityVerificationAttributes"
                    ],
                    "Resource": [
                        "*"
                    ]
                },
                {
                    "Effect": "Allow",
                    "Action": [
                        "sns:CreateTopic",
                        "sns:DeleteTopic",
                        "sns:Subscribe",
                        "sns:Unsubscribe"
                    ],
                    "Resource": [
                        "*"
                    ]
                }
            ]
        }
        ```
    
 4.  * Click “Create Policy”
 5. Attach the policy created in step 1 to a new group:
 6.  * From the IAM dashboard, click “Groups” in the left-hand navigation, and then“
       Create New Group”
     * Enter a name for the new group (e.g. “ses-managers”) and click “Next Step”
     * Find and select the policy you created in step 1 and click “Next Step”
        - **Tip**: Choose “Customer Managed” under “Filter” to more easily find your
          policy.
     * Click “Create Group”
 7. Create a new user and assign it to the group created in step 2:
 8.  * From the IAM dashboard, click “User” in the left-hand navigation, and then “
       Add User”
     * Enter a username for the new user
     * Check “Programmatic access” under “Access type”
        - **Note**: We recommend you do **not** check “AWS Management Console access”
     * Click “Next: Permissions”
     * Select “Add user to group” (selected by default) and check the group you created
       in step 2
     * Click “Next: Review”
     * Confirm the username, AWS access type and group membership, and click “Create
       user”
     * **Important**: Make a note of the new user’s “Secret access key”. You will need
       to enter it into the WordPress configuration page, along with the “Access key
       ID”. You can download the user’s credentials in a CSV file and/or display them
       on the page. _This is your only opportunity to view the user’s secret access
       key._
        - (If you forget to save the user’s credentials, you can create a new access
          key for that user under “Security credentials” on the user admin page.)

## Recensioni

![](https://secure.gravatar.com/avatar/7fdf34f505d1c65b8b4bf083f6d334e810fd2fe82d6044e83b2546ea3c2418ec?
s=60&d=retro&r=g)

### 󠀁[excellent plugin](https://wordpress.org/support/topic/excellent-plugin-8198/)󠁿

 [tsiotas](https://profiles.wordpress.org/tsiotas/) 16 Ottobre 2022

it's very simple and it works without any problem

![](https://secure.gravatar.com/avatar/8d7a3984ee102506e937075cb5e3cec911c84fc4ed9c29ce70fb879d0658448b?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin, helped me fix my problem!](https://wordpress.org/support/topic/excellent-plugin-helped-me-fix-my-problem/)󠁿

 [Richard](https://profiles.wordpress.org/rgenck/) 7 Maggio 2020

I was having problems with SES not sending emails. I tried other plugins, but this
one has the error handling needed to help me diagnose the permission problems I 
was having. Great job, and thank you for writing such a great plugin!

![](https://secure.gravatar.com/avatar/e602ee859ab21612ba254d2701e9f88446cc5a089ee22ee4b0dc6d27b4be7b43?
s=60&d=retro&r=g)

### 󠀁[Does not work at all](https://wordpress.org/support/topic/does-not-work-at-all-64/)󠁿

 [surkhabfashion](https://profiles.wordpress.org/surkhabfashion/) 24 Marzo 2020

Copied all settings from another working plugin and it doesn't work with this one.
Errors when saving settings on the plugin

![](https://secure.gravatar.com/avatar/5faf2115466cc719136813ff9bb2a363ad688e509846df97eef4a810ff7ad2ed?
s=60&d=retro&r=g)

### 󠀁[Love this plugin](https://wordpress.org/support/topic/love-this-plugin-840/)󠁿

 [JustDoIt123](https://profiles.wordpress.org/enjakcom/) 3 Dicembre 2019

Super simple but powerful plugin for amazon ses. Love you guy, very good job

![](https://secure.gravatar.com/avatar/a308e38c0956215327f91da010f901b6f9447fe4d6827ff1e8077a776238c541?
s=60&d=retro&r=g)

### 󠀁[All-in-one Amazon SES Capability](https://wordpress.org/support/topic/all-in-one-amazon-ses-capability/)󠁿

 [bertlio](https://profiles.wordpress.org/bertlio/) 7 Dicembre 2018

Thank you so much for this amazing and only working Amazon SES plugin that can track
bounce and complaint notifications and automatically suppress email to which delivery
has failed. So this maintains a healthy SES reputation which is essential! The documentations
on how to use the plugin via WP and activate specific features via AWS are very 
easy to follow and integrate! A Must-Have if you're using Amazon SES for your wordpress
sites!

![](https://secure.gravatar.com/avatar/b626a4b700bc0d4c8c0a219c5cfa6105da34028471f0dfc8b4bd7321db7cadfc?
s=60&d=retro&r=g)

### 󠀁[Excelent Plugin](https://wordpress.org/support/topic/excelent-plugin-229/)󠁿

 [Rafael Rodrigues](https://profiles.wordpress.org/rafaelrodrigues/) 24 Agosto 2018

Excellent Plugin. It has everything to be able to send and manage Amazon SES by 
WordPress, works with Bounces and Complaints, which is the highlight of this plugin.
Congratulations to the author.

 [ Leggi tutte le recensioni di 6 ](https://wordpress.org/support/plugin/gnaritas-amazon-ses/reviews/)

## Contributi e sviluppo

“Gnaritas Amazon SES” è un software open source. Le persone che hanno contribuito
allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

 *   [ David Santucci ](https://profiles.wordpress.org/dsantucci/)

[Traduci “Gnaritas Amazon SES” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/gnaritas-amazon-ses)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/gnaritas-amazon-ses/)
segui il [repository SVN](https://plugins.svn.wordpress.org/gnaritas-amazon-ses/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/gnaritas-amazon-ses/)
tramite [RSS](https://plugins.trac.wordpress.org/log/gnaritas-amazon-ses/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Versione **0.1.3**
 *  Ultimo aggiornamento **7 anni fa**
 *  Installazioni attive **20+**
 *  Versione WordPress ** 4.0 o superiore **
 *  Testato fino alla versione **5.2.29**
 *  Versione PHP ** 5.5 o superiore **
 *  Lingua
 * [English (US)](https://wordpress.org/plugins/gnaritas-amazon-ses/)
 * Tag
 * [amazon](https://it.wordpress.org/plugins/tags/amazon/)[email](https://it.wordpress.org/plugins/tags/email/)
   [mail](https://it.wordpress.org/plugins/tags/mail/)[SES](https://it.wordpress.org/plugins/tags/ses/)
   [wp_mail](https://it.wordpress.org/plugins/tags/wp_mail/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/gnaritas-amazon-ses/advanced/)

## Valutazioni

 4.3 su 5 stelle.

 *  [  5 recensioni a 5-stelle     ](https://wordpress.org/support/plugin/gnaritas-amazon-ses/reviews/?filter=5)
 *  [  0 recensioni a 4-stelle     ](https://wordpress.org/support/plugin/gnaritas-amazon-ses/reviews/?filter=4)
 *  [  0 recensioni a 3-stelle     ](https://wordpress.org/support/plugin/gnaritas-amazon-ses/reviews/?filter=3)
 *  [  0 recensioni a 2-stelle     ](https://wordpress.org/support/plugin/gnaritas-amazon-ses/reviews/?filter=2)
 *  [  1 1- recensioni a stelle     ](https://wordpress.org/support/plugin/gnaritas-amazon-ses/reviews/?filter=1)

[La tua recensione](https://wordpress.org/support/plugin/gnaritas-amazon-ses/reviews/#new-post)

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/gnaritas-amazon-ses/reviews/)

## Collaboratori

 *   [ David Santucci ](https://profiles.wordpress.org/dsantucci/)

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/gnaritas-amazon-ses/)