I use simplenews with HTMLMail and just wonder which Module to set to HTLMail in admin/config/system/mailsystem.
I have set
(simplenews_module key) class
(simplenews actionm key) class
but all test newsletters are send as plaintext.

Comments

andros’s picture

Is there no answer for this?

simon georges’s picture

Project: Simplenews » HTML Mail
Version: 7.x-1.0-alpha1 » 7.x-2.x-dev
Component: Usability » Documentation
Assigned: andros » Unassigned
pillarsdotnet’s picture

Status: Active » Fixed

To answer your question, you should set the site-wide default mail system to HTMLMailSystem.

See the screenshot at http://drupal.org/node/1134044

Click on the first select dropdown and change "DefaultMailSystem" to "HTMLMailSystem".

For other settings documentation see http://drupal.org/node/1124934

I wrote a fairly comprehensive documentation page about how Simplenews and HTML Mail work together, at http://drupal.org/node/1260178

Hope this helps. If you still can't get things working please re-open this issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

pixelsweatshop’s picture

Title: How to use HTML Mail for SimpleNews but not for anything else. » Which module to set to HTMLMail in Mails System
Category: feature » support
Status: Active » Closed (fixed)

For anyone stumbling upon this and only want to send html newsletters and not set the entire site to use html as default for sending emails. i.e. Not have to go and update all of your system messages with proper html structure, including your rules emails, account emails (password recovery, new account email etc). Note: If you don't update all of your system email (e.g. at /admin/config/people/accounts/settings) say with p tags, then every email will collapse down into one paragraph and look awful.

1. Go to /admin/config/system/mailsystem
2. Expand 'New Setting'
3. Select 'Mail Simplenews Newsletter'
4. Hit 'Save'
5. Now you will find 'Simplenews module class' in the 'Mail System Settings' of the same page
6. Select 'HTMLMailSystem'
7. Hit 'Save'

Voila! Now only Simplenews will use HTML to send it's newsletters. Every other email from your site will not.

pillarsdotnet’s picture

Category: support » feature
Status: Closed (fixed) » Active

Thank you, nicoz.

Now I just need to copy #5 to a documentation page.

pillarsdotnet’s picture

Title: Which module to set to HTMLMail in Mails System » How to use HTML Mail for SimpleNews but not for anything else.
joecanti’s picture

thanks nicoz in #5

Worked a treat.

heyehren’s picture

thanks nicoz, this saved my day!

PEP3’s picture

Title: Which module to set to HTMLMail in Mails System » How to use HTML Mail for SimpleNews but not for anything else.
Category: support » feature
Status: Closed (fixed) » Active

Very Useful thank you! I was struggling with this issue.

joro78’s picture

I have an issue and need some help on it (SimpleNews 7.x-1.1).

when making the HTML format as default for the SimpleNews module
sending of mail works like a charm, with own template etc, but the subscription block and form don't.

The system is trying to render subscription data as HTML and renders output of HTML as plain text regarding user subscription (the one users get when subscribing). Users are not being subscribed either or receiving any notification.

What I'm trying to figure out is if there is a way to separate the work of the subscription form/block and the newsletter as plain text/HTML. Mime format works, but cannot render my theme as expected.

Emogrifier library and Echo module are also installed on the site.

* * *

Thanks in advance.

pixelsweatshop’s picture

Issue summary: View changes
Status: Active » Closed (fixed)

@ joro78, please open another issue or post in the forums as this thread is just about configuring HTML mail just for simplnews only.