In the previous recipe, we learned how to send mail using the Jinja template. In this recipe, we will see another way to send dynamic mail. We will send email with the help of the QWeb template.
Sending mail using the QWeb template
Getting ready
For this recipe, we will use the my_library module from the previous recipe Sending mail using the Jinja template. We will use the QWeb template to send an email to the borrower to tell him/her the book is overdue.
How to do it...
Follow these steps to send a reminder email to the borrower:
- Add the QWeb template into the my_library...