Closed (fixed)
Project:
HTML Mail
Version:
7.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2011 at 12:01 UTC
Updated:
10 Feb 2014 at 18:00 UTC
Jump to comment: Most recent
Comments
Comment #1
andros commentedIs there no answer for this?
Comment #2
simon georges commentedComment #3
pillarsdotnet commentedTo 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.
Comment #5
pixelsweatshop commentedFor 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.
Comment #6
pillarsdotnet commentedThank you, nicoz.
Now I just need to copy #5 to a documentation page.
Comment #7
pillarsdotnet commentedComment #8
joecanti commentedthanks nicoz in #5
Worked a treat.
Comment #9
heyehren commentedthanks nicoz, this saved my day!
Comment #10
PEP3 commentedVery Useful thank you! I was struggling with this issue.
Comment #11
joro78 commentedI 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.
Comment #12
pixelsweatshop commented@ joro78, please open another issue or post in the forums as this thread is just about configuring HTML mail just for simplnews only.