diff options
author | lxf <sng@luxagraf.net> | 2020-12-21 12:19:24 -0500 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2020-12-21 12:19:24 -0500 |
commit | 4a7d32f5b7135e9a830c23df8a5504d1da3f6a09 (patch) | |
tree | 23be8ca3b27f5891ee04c57abd520710cf1be92f /app/lttr/mailer.py | |
parent | d01b0b99b417d2c3ed0d218e2d7b23e2595f18d0 (diff) |
moved lttr to actually send
Diffstat (limited to 'app/lttr/mailer.py')
-rw-r--r-- | app/lttr/mailer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lttr/mailer.py b/app/lttr/mailer.py index 9972ea2..143fbf2 100644 --- a/app/lttr/mailer.py +++ b/app/lttr/mailer.py @@ -74,10 +74,10 @@ class SendShit(): from_email, to = 'Scott Gilbertson <sng@luxagraf.net>', subscriber.get_email() text_content = render_to_string('lttr/emails/friends_plain_text_email.txt', {'object': self.mailing, 'subscriber':subscriber}) html_content = render_to_string('lttr/emails/friends_html_email.html', {'object': self.mailing, 'subscriber':subscriber}) - print(text_content) + #print(text_content) msg = EmailMultiAlternatives(subject, text_content, from_email, [to]) msg.attach_alternative(html_content, "text/html") - #msg.send() + msg.send() ''' for header, value in self.newsletter.server.custom_headers.items(): |