HTML email?

plousia's picture

Rules, quite simply, rules. It's my new favourite module--thanks so much guys!

What I am wondering is, is there any workaround to send HTML emails with Rules. The client has requested this functionality, and I thought I'd check here before saying "not possible". I couldn't find anything about this in the support forums, so I hope I'm not rehashing an existing issue.

I'm fairly familiar with Drupal, but not PHP (yet), though I can modify existing code somewhat.

Thanks in advance.

Groups:
Login to post comments

afaik I know there is no way

fago's picture
fago - Tue, 2009-04-28 11:11

afaik I know there is no way to do it currently, but I don't think it would be hard. I don't know how complex this to implement, but depending on this it might be clever to do it as rules integration of a separate module like mime mail or just as built in option for the rules send mail actions. I think there is also an issue in the queue.

Patches welcome.. :)


I managed to get this working

plousia's picture
plousia - Tue, 2009-04-28 16:51

With the module HTML Mail. It isn't the ideal solution, as it means installing another module, but it works. It would be great to see this feature implemented into Rules in the future, if someone creates a patch.


mimemail integration

criz's picture
criz - Thu, 2009-06-25 16:52

There is a patch now that integrates rules in mimemail: Install Mimemail, apply patch from http://drupal.org/node/501722, and you have nice new html mail actions. Attachements are working too!