Adds Campaign.get_text_template() that defaults to the same template as get_template(), but with a .txt extension.
If the text template is found, it will be used to render a plaintext version of the mailing. If it isn’t, the mail will still be sent, but no plaintext part will be included. This means that mails without a text counterpart will be roughly 2 times lighter, and that text clients won’t display HTML content as text.
Fixes #50
Adds
Campaign.get_text_template()
that defaults to the same template asget_template()
, but with a.txt
extension. If the text template is found, it will be used to render a plaintext version of the mailing. If it isn’t, the mail will still be sent, but no plaintext part will be included. This means that mails without a text counterpart will be roughly 2 times lighter, and that text clients won’t display HTML content as text.