Skip to content
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', 'jbrown@gmail.com'),
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