Support for HTML via mimemail

mikesmullin - January 8, 2008 - 18:32
Project:Invite
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

It'd be nice to be able to choose from Plain text or HTML in invite settings and create HTML email templates.

(see attached)

AttachmentSize
invite.module.patch1.48 KB

#1

smk-ka - January 8, 2008 - 19:07
Status:needs review» needs work

I think you also need a new set of tokens (inviter and invite-message, both filtered by check_plain()), otherwise you're opening the site to XSS attacks. And of course a clear warning that the default tokens used (those ending in -raw) are insecure and the admin has to change them.

#2

kenorb - January 13, 2009 - 22:11

#3

ccdoss - March 17, 2009 - 03:29

Does this work for anyone? I tried it on Invite 5.13, and included some html tags. The invitation just included the html tags verbatim. Am I doing something wrong?

#4

ccdoss - March 17, 2009 - 03:40

Sorry...didn't have mimemail installed. Works great!

 
 

Drupal is a registered trademark of Dries Buytaert.