Download & Extend

Patch to enable send emails with HTML format

Project:Advanced User
Version:6.x-3.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:earnie
Status:needs work

Issue Summary

Is it possible to send emails in html format?
If not, how can i implement this in the code?

thanks!

Comments

#1

Version:4.7.x-3.x-dev» master
Priority:critical» normal

I'm not sure if it would be easy or not. The first item of business would be to ensure that drupal_mail API would allow you to hook into it. Any patches would need to be submitted against CVS HEAD tag.

#2

Possible: yes.
Likely soon: probably not.

I'd love to see this feature. I don't want to re implement the wheel, though. I recall there being a mail api somewhere that can do this, so I'd like to see it done using existing code, if that code works well.

So, if we can integrate easily with this module (or similar), then I support the addition of html mail features:

http://drupal.org/project/mimemail

(Doing my part to stamp out massive duplication of code, one module at a time.)

#3

Please take note of the existing mass mailing issues:

http://drupal.org/node/110132

#4

Assigned to:zaphod280380» earnie
Status:active» postponed

Postpone to review later.

#5

Title:html in emails» Integrate with the Mime Mail module.
Version:master» 6.x-3.x-dev

#6

Title:Integrate with the Mime Mail module.» Patch to enable send emails with HTML format

Hello folks

I made a patch to add an extra variable to control the format HTML or NOT HTML used to send bulk emails.

If the variable is checked emails will be send using HTML format

AttachmentSize
Enanble-html-mails_118941.patch 3.06 KB

#7

Status:postponed» needs work

@-ENZO-: The patch changes more than allowing HTML email. You'll need to modify the patch to change only the necessary components.

#8

Hello Earnie

Really, I just add a check in setting and use this check in mail function.

Can you explain me what do you expect I do ?

Regards,

enzo

#9

The change to advuser_menu, advuser_admin_account and the removal of advuser_admin_access are unrelated to the addition of html email. Therefore I cannot accept the patch as is. You will need to resubmit the patch changing only the source components that matter to the addition of html email.