phpList / phplist3

Fully functional Open Source email marketing manager for creating, sending, integrating, and analysing email campaigns and newsletters.
https://www.phplist.org
GNU Affero General Public License v3.0
753 stars 269 forks source link

AWS bounces importing using AWS SNS notifications #148

Open miraclebg opened 7 years ago

miraclebg commented 7 years ago

In case someone is interested in using this - or to adapt it to phplist core i've built a script which checks and marks bounces / blacklists users - parsing AWS SNS notifications which SES sends when mail delivery failed.

I needed to do this as the standard bounces checking mechanism did not seem to work with SES - i've never received a single bounced email.

Here it is: https://github.com/miraclebg/phplist3/commit/e2f2f262a3f21b2de055c0c9a8556b8845600388

:)

michield commented 7 years ago

Interesting. Can you add a little description of what it does and how to use it? And then create a Pull Request, so it can be merged into the main code.

Thanks

luison commented 6 years ago

Hi @miraclebg, can you confirm you still have this script working? I too find it very interesting as an implementation to PHPLIST, after hours of work trying to normalise an control bounces I am about to give up and this seems like a very effective solution if sending via SES. Thanks for sharing.

samtuke commented 6 years ago

With a little work this could become a part of phpList 3. Any takers?

miraclebg commented 6 years ago

Although I haven't checked / used it in a while - it should still be operational! Unfortunately I don't have the time right now to verify this - feel free to give a hand ;)