Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using multiple AMAZON_ACCESS_KEY and SECRET_KEY for sending Emails #128

Open
davneet4u opened this issue Nov 6, 2017 · 3 comments
Open

Comments

@davneet4u
Copy link

Hello

Can we use multiple AMAZON_ACCESS_KEY and SECRET_KEY for sending emails?

Something like
mail = EmailMultiAlternatives(subject = subject, body = message, from_email = from_email,to = to_list, headers={'List-Unsubscribe': '<mailto:'+ from_email + '?subject=unsubscribe>'}, aws_access_key=aws_access_key, aws_secret_key=aws_secret_key)

@pcraciunoiu
Copy link
Contributor

Hi @davneet4u -- that is not currently possible. If you are up for it, you are welcome to submit a pull request to add this feature. Make sure to include at least one test.

@chrisconlan
Copy link

chrisconlan commented Jul 5, 2018

Bumping this as a good idea. Would aid in parsimonious permissions managements in AWS for multi-use applications.

Also, it could be solved by an optional argument without affecting existing installations.

@pcraciunoiu
Copy link
Contributor

@chrisconlan Thanks. I have limited time to code this, but can review PRs if you want to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants