Showing posts with label drupal_mail. Show all posts
Showing posts with label drupal_mail. Show all posts

Tuesday, October 05, 2010

Drupal: Sending an Email using the drupal_mail function

Here's a code snippet that shows you how to use the drupal_mail function to send an email. First, define a callback function that will handle the creation of the message. NOTE: this function must end with "_mail"