def send_template(self, template, to, reply_to=None, **context):
mail_data = self.parse_template(template, **context)<EOL>subject = mail_data["<STR_LIT>"]<EOL>body = mail_data["<STR_LIT:body>"]<EOL>del(mail_data["<STR_LIT>"])<EOL>del(mail_data["<STR_LIT:body>"])<EOL>return self.send(to=to,<EOL>subject=subject,<EOL>body=body,<EOL>reply_to=reply_to,<EOL>**mail_data)<EOL>
Send email from template