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 extra detail to docs #80

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ send message and get response from smtp server:
and more:

* DKIM signature
* Render body from template
* Render email subject and body using Jinja templates
* Flask extension and Django integration
* Message body transformation methods
* Load message from url or from file
Expand Down
1 change: 1 addition & 0 deletions docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Use templates:
message.send(to=('John Brown', '[email protected]'),
render={'name': 'John Brown', 'billno': '141051906163'})

The :code:`JinjaTemplate` constructor expects a unicode string as the first argument. Therefore templates stored in external files can be added using :code:`T(open('template.html').read())`.


Add DKIM signature:
Expand Down