Skip to content

Commit 8543162

Browse files
committed
Update README.rst
1 parent c015885 commit 8543162

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,16 @@ Set ReplyTo
122122
message.sendgrid.Mail()
123123
message.set_replyto('example@email.com')
124124
125+
126+
Using Templates
127+
~~~~~~~~~~~~~~~~~
128+
129+
.. code:: python
130+
131+
# template should be active
132+
message.add_filter('templates', 'template_id', 'TEMPLATE-ALPHA-NUMERIC-ID')
133+
134+
125135
Set File Attachments
126136
~~~~~~~~~~~~~~~~~~~~
127137

0 commit comments

Comments
 (0)