0

In my project, I need to send HTML mail when a new content is created with attachments using the Mimemail, Mail System, SMTP, and Rules modules. Plain text mail is working fine with rules module but problem is with HTML mail.

Can you please tell me the procedure to configure Mail System and Mime mail with SMTP?

3

First you need to create a Rule to send a HTML email via Mimemail:

enter image description here Once you've configured the rule correctly and have entered your HTML email content, you need to ensure the correct mail system class is being used by Drupal to send your emails:

enter image description here

If you don't select the MimeMail class within these settings, the default Drupal mail system will be uses and your HTML emails will be sent in plain text.

| improve this answer | |

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.