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

Add the ability to save context to the database even if rendering immediately #369

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

phoebebright
Copy link

Added a save_context option on mail.send so that you can add the context to the database. This is useful if you want to be able to retrieve mails related to a particular object id or subject later.

Call create() with save_context=True to include the context in the database when not using render_on_delivery.
This is handy as you can save data you might want to search on later.
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

Successfully merging this pull request may close these issues.

1 participant