This continues on the module we started last time and shows how to implement hook_cron to run periodic tasks on your Drupal website. Also goes over hook_mail and the drupal_mail function for creating and sending email messages within your Drupal 7 module.
In this episode you will learn:
- How to implement hook_cron in a Drupal 7 module
- How to implement hook_mail to set up email messages in your Drupal 7 module
- How to trigger the sending of email in a Drupal 7 module with the drupal_mail function