"""Generates a new mail message for the given template and record, and schedule it for delivery through the ``mail`` module's scheduler.
"""Generates a new mail message for the given template and record, and schedule it for delivery through the ``mail`` module's scheduler.
:param int template_id: id of the template to render :param int res_id: id of the record to render the template with (model is taken from the template) """
:param int template_id: id of the template to render :param int res_id: id of the record to render the template with (model is taken from the template) """
"""Generates a new mail message for the given template and record, and schedule it for delivery through the ``mail`` module's scheduler.
"""Generates a new mail message for the given template and record, and schedule it for delivery through the ``mail`` module's scheduler.
:param int template_id: id of the template to render :param int res_id: id of the record to render the template with (model is taken from the template) """
:param int template_id: id of the template to render :param int res_id: id of the record to render the template with (model is taken from the template) """