0

I want to send the emails related to the user account in HTML version:

  • forgotten password
  • new account
  • account canceled
  • ...

If I make a copied paste of my HTML code, it does not work.

/admin/config/people/accounts

How to send the emails related to the user account in HTML ?

1

Mimemail helps you send the emails with html. Are you sure you have updates those system emails with html/css?

With mimemail, it is not guaranteed that user will see email in html. User clients may be configure to receive plain text emails only.

[Edit] Have a look at this module: https://www.drupal.org/project/mailsystem

  • 1
    Yes. I can send emails in HTML format. But it does not work with user account events. – 553aa08930 Oct 13 '18 at 15:09
  • what haapens when you add HTML tags on user account related emails? – Bhavin Joshi Oct 15 '18 at 6:42
1

The mimemail module is what usually would be the right solution for this, but is seems to contain an error, so that it does'nt add HTML to the user account mails.

Check issue here, mimemail issue.

  • Sorry for the short answer, I will update when I am on my computer – Jdrupal Oct 13 '18 at 14:38
  • I have already installed "Mailsystem" and "Swiftmailer", mail the emails sent for the user account's event remains in plain text. – 553aa08930 Oct 13 '18 at 15:07
  • @553aa08930 I am having the same issues. With SwiftMailer, the registration e-mails do not get themed. While using MimeMail they do get themed but the body of the e-mail is all collapsed and plain text. – No Sssweat Oct 14 '18 at 2:36
  • 1
    @NoSssweat Ok, so you have the same problem as me. I searched and I did not find anything to send these emails in HTML – 553aa08930 Oct 14 '18 at 2:42
  • @553aa08930 I created an issue for MimeMail here – No Sssweat Oct 14 '18 at 2:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.