django-ses / django-ses

A Django email backend for Amazon's Simple Email Service
http://hmarr.com/2011/jan/26/using-amazons-simple-email-service-ses-with-django/
MIT License
987 stars 223 forks source link

Mailbox Simulator support #197

Open WhyNotHugo opened 3 years ago

WhyNotHugo commented 3 years ago

I'd love to see support for using AWS's Mailbox Simulator. I'd set this up for my staging and development environments.

I'm thinking of a flag SES_USE_SIMULATOR, the default value would be False, to avoid breaking any existing usages. Basically it would change the recipient of all emails to success@simulator.amazonses.com unless the recipient's address ends in @simulator.amazonses.com.

What are you thoughts on this?

pcraciunoiu commented 3 years ago

Yeah I'd be open to it if you want to make a PR. Sounds like you'd be able to test it in a live environment, so that's great.