I check in my very first "official" Drupal module today! If you are logged in here, you will see a fancy new "send this page" at the bottom of this post. I was 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.
I hate rich text email as much as the next self-respecting geek, but the fancy factor can't be denied. It would go over well for some of the corporate sites.
- Log in to post comments