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

thanks!

CommentFileSizeAuthor
#6 Enanble-html-mails_118941.patch3.06 KB-enzo-

Comments

Anonymous’s picture

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.

mcurry’s picture

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.)

mcurry’s picture

Please take note of the existing mass mailing issues:

http://drupal.org/node/110132

Anonymous’s picture

Assigned: zaphod280380 »
Status: Active » Postponed

Postpone to review later.

Anonymous’s picture

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

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

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

Anonymous’s picture

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.

-enzo-’s picture

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

Anonymous’s picture

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.

Anonymous’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Status: Needs work » Postponed

Pushing feature request to 7.x version.