Download the PHP package ag84ark/aws-ses-bounce-complaint-handler without Composer
On this page you can find all versions of the php package ag84ark/aws-ses-bounce-complaint-handler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ag84ark/aws-ses-bounce-complaint-handler
More information about ag84ark/aws-ses-bounce-complaint-handler
Files in ag84ark/aws-ses-bounce-complaint-handler
Package aws-ses-bounce-complaint-handler
Short Description Helper for handling AWS SES with SNS
License MIT
Homepage https://github.com/ag84ark/aws-ses-bounce-complaint-handler
Informations about the package aws-ses-bounce-complaint-handler
Aws Ses Bounce Complaint Helper
Helper for handling AWS SES with SNS This works with HTTP(S) calls or SQS, HTTP(S) recommended! Take a look at contributing.md to see a to do list.
Installation
Via Composer
Publish the migration and run them with:
You can publish the config file with:
Add the route to the except list in App\Http\Middleware\VerifyCsrfToken.php
Add link in AWS SNS for AWS SES email bounce and complains to: /amazon-sns/notifications
Also be sure to check the Enable raw message delivery option
Usage
Check to see if it is safe to send email
To stop emails from being sent to unsafe email addresses automatically
Add in App\Providers\EventServiceProvider.php
In App\Listeners\CheckEmailAddressBeforeSending.php
To be able to resend to a "banned" email address use
This will mark the entries to be ignored when running canSendToEmail but will only work if you run this after the email address was marked as bad. Useful in development.
To remove all entries of an email
Change log
Please see the changelog for more information on what has changed recently.
Testing
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email author email instead of using the issue tracker.
Credits
License
Please see the license file for more information.