PHP code example of etailors / mautic-amazon-ses

1. Go to this page and download the library: Download etailors/mautic-amazon-ses library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

etailors / mautic-amazon-ses example snippets

text
   mautic+ses+api://<AWS_ACCESS_KEY>:<AWS_SECRET_KEY>@default?region=<AWS_REGION>&ratelimit=14&sns_topic_arn=<SNS_TOPIC_ARN>
   
json
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSesSendingAndQuota",
      "Effect": "Allow",
      "Action": [
        "ses:SendEmail",
        "ses:SendRawEmail",
        "ses:GetSendQuota"
      ],
      "Resource": [
        "arn:aws:ses:<region>:<account id>:identity/*",
        "arn:aws:ses:<region>:<account id>:configuration-set/*"
      ]
    }
  ]
}