Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Dygalo committed Mar 31, 2020
2 parents 5dcb8ef + 1710940 commit 618d628
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions postmarker/models/emails.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ def send_with_template(
TrackLinks="None",
Attachments=None,
InlineCss=True,
Metadata=None,
):
return self.EmailTemplate(
TemplateId=TemplateId,
Expand All @@ -397,6 +398,7 @@ def send_with_template(
TrackLinks=TrackLinks,
Attachments=Attachments,
InlineCss=InlineCss,
Metadata=Metadata,
).send()

def send_batch(self, *emails, **extra):
Expand Down Expand Up @@ -467,6 +469,7 @@ def EmailTemplate(
TrackLinks="None",
Attachments=None,
InlineCss=True,
Metadata=None,
):
"""
Constructs :py:class:`EmailTemplate` instance.
Expand All @@ -490,6 +493,7 @@ def EmailTemplate(
TrackLinks=TrackLinks,
Attachments=Attachments,
InlineCss=InlineCss,
Metadata=Metadata,
)

def EmailBatch(self, *emails):
Expand Down

0 comments on commit 618d628

Please sign in to comment.