New Drupal Module
I check in my very first "official" Drupal module today! I was really surprised that there was no existing functionality to send an actual node (not just a link to one). Then I found out how tricky that can get.
I spent a long time tweaking Gerhard's existing mail.inc file, and I hope nobody ever has to write another one again. Hopefully, a case can be made to include some version of mail.inc into core so that other modules can take advantage of html_to_text and mime mailing.
One cool enhancement I made is a themeable mail body function that generates an html message body based on the theme's css files. This feature alone makes it worthwhile to consider the possibility of sending drupal's administrative messages in HTML form.
- Read more about New Drupal Module
- Log in to post comments