Search by

serendipity_hq / aws-ses-monitor-bundle

Aerendir

This package is abandoned and no longer maintained. The author suggests using the serendipity_hq/bundle-aws-ses-monitor package instead.

Symfony bundle to monitor AWS SES bounces, complaints and deliveries through SNS. Comes with a command to fully configure the topics and includes a configurable Symfony Mailer filter to avoid sending emails to bounced and complained emails.

Package info

github.com/Aerendir/bundle-aws-ses-monitor

Documentation

Type:symfony-bundle

pkg:composer/serendipity_hq/aws-ses-monitor-bundle

Statistics

Installs: 23 916

Dependents: 0

Suggesters: 0

Stars: 13

Open Issues: 32

2.2.0 2026-11-15 15:26 UTC

README

Serendipity HQ AWS SES Monitor Bundle

AWS SES Monitor Bundle automates the filtering of bounced and complained e-mails sent through AWS SES.

Supports:

Tested with:

Current Status

Coverage Maintainability Rating Quality Gate Status Reliability Rating Security Rating Technical Debt Vulnerabilities

Phan PHPStan PSalm PHPUnit Composer PHP CS Fixer Rector

Features

AWS SES can give you notifications about bounced or complained e-mails both via e-mail or via the AWS SNS service.

Managing these notifications it is possible to know to which e-mails we should not send further e-mails.

This bundle helps you setting up the automatic handling of notifications via SNS.

Do you like this bundle?
LEAVE A ★

or run
composer global require symfony/thanks && composer thanks
to say thank you to all libraries you use in your current project, this included!

How AWS SES Monitor Bundle integrates with AWS SNS

Using AWS SES Monitor Bundle you can, using the console of your Symfony's App, create in AWS Simple Notifications Service a topic for bounced emails and one for complained emails and automatically subscribe your app identity to that topics.

The bundle exposes some endpoints called by AWS Simple Email Service when an e-mail is bounced or complained. When those endpoints are called, AWS SES Monitor Bundle persists these emails in the database.

The Symfony Mailer filter included reads these e-mails and automatically removes those addresses from the recipients of the e-mails you send.

The entire procedure is automated by the bundle in a really simple and easy way.

Upgrading from Swiftmailer

Since 2.2 the bundle filters the recipients of the e-mails sent through Symfony Mailer, as Swiftmailer is abandoned and doesn't work with any maintained version of Symfony:

  • the recipients of the e-mails of every Mailer transport are filtered: the shq_aws_ses_monitor.mailers option is deprecated and ignored, so remove it from your configuration;
  • the command to send the test e-mails is aws:ses:monitor:test:mailer: aws:ses:monitor:test:swiftmailer still works as an alias.

Documentation

You can read how to install, configure, test and use AWS SES Monitor Bundle in the documentation.

Do you like this bundle?
LEAVE A ★

or run
composer global require symfony/thanks && composer thanks
to say thank you to all libraries you use in your current project, this included!