Closed (works as designed)
Project:
Mime Mail
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2009 at 23:33 UTC
Updated:
7 May 2011 at 18:02 UTC
Mimemail not pulling site theme so emails have text but no theming. I wanted Drupal welcome emails to be in HTML, am I missing something. I have both mime modules installed.
Comments
Comment #1
sgabe commentedDid you check the Use mime mail for all messages option on the settings page?
Comment #2
vrajak@gmail.com commentedI have the same problem as the original poster. I have checked the option the comment specifies above, but still doesn't work. Although I have only tried in the "test email" setting. Does that have anything to do with it?
Comment #3
sgabe commented@Vraja: Are you using a different administration theme than your default theme? If you are, copy your custom template files into your administration theme's folder and try again.
Comment #4
kirsh commentedI had a similar problem. It stopped working after upgrading from alpha1 to alpha2.
After deleting the smtp_library variable (it pointed to a non existing directory after the switch to alpha2)
and turining off and on the "Use mime mail for all messages" checkbox - it works again.
Comment #5
sgabe commentedIs this issue still valid?
Comment #6
kirsh commentedI Just upgraded from alpha6 to alpha7 - it still happens - as described in #4.
Comment #7
sgabe commented@kirsh: Let's clear this up a little. The value of smtp_library variable has changed during the update? Do you think I can reproduce this by installing alpha6 then updating to alpha7? Please provide information how to reproduce.
The original post says:
Is the text HTML or plain? Is just the styling missing or the entire message is plain text? Are we talking about the same issue here?
Comment #8
AlanT commentedI just upgraded to the most recent version, and I'm now having the same issue.
Emails are going out as HTML/text, but the HTML does not use the site's CSS. (All HTML tags are plain, with no styling at all.)
I use Zeropoint for the public area, and Newsflash for the admin area. Prior to this upgrade, emails went out with Zeropoint styling, which is what I want.
Configuration options checked:
Use mime mail for all messages
Include site style sheets
Testing a suggestion above, I disabled both settings, saved, and then re-enabled them, and saved again. This did not fix the issue.
Personally, this is reason enough to go back to the previous version, if I can find it.
Hope my report helps to find and fix the issue.
Comment #9
sgabe commentedIs Zero Point your default theme?
Comment #10
AlanT commentedYes, Zero-Point is my default theme.
Comment #11
AlanT commentedI have new information. Earlier today, I created a mail.css file to tweak a setting (max-width) for emails. This proved to speed up the sending process tremendously for my newsletter.
In looking over some settings, I noticed that the "Include site style sheets" option was unchecked and could not be checked. I suspect this is because the mail.css file is now present.
Anyways, I tested alpha-8 again, the one which was not working for me before. It does pull styles from the mail.css file.
However, when I rename the mail.css file to effectively remove it from the system, styles are still not being pulled from the theme stylesheets, even though I go back into the settings and check "Include site style sheets".
Because having a mail.css file improves sending speed for my newsletter, I plan to keep it, which means that this issue no longer affects me.
Comment #12
sgabe commented@AlanT: I just installed Zero Point and it seems the only CSS file that can be found by drupal_add_css() is the round.css which formats only the search form. This issue needs to be solved by the maintainer of the theme.
I think the rest of this issue is the same case. It works as designed, but you should check if the theme's CSS files can be picked up by the module.