MCPcopy Create free account
hub / github.com/HermanMartinus/bearblog / run

Method run

blogs/helpers.py:154–163  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

152 threading.Thread.__init__(self)
153
154 def run(self):
155 email = EmailMultiAlternatives(
156 subject=self.subject,
157 body=self.html_message,
158 from_email=self.from_email,
159 to=self.recipient_list,
160 reply_to=self.reply_to if self.reply_to else None,
161 )
162 email.attach_alternative(self.html_message, "text/html")
163 email.send(fail_silently=True)
164
165
166# Important! All members of the recipient list will see the other recipients in the 'To' field

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected