Just a note to maybe add something to the documentation to indicate that htmlmail does not function as expected when sending test mails while Drupal is in maintenance mode.
After a lot of frustration, especially with all the changes from D6 and trying to implement simplenews, I finally discovered why test simplenews mails were just coming through as plain text. Turn your site back 'on' and everything works.
also big thanks for all the recent work, htmlmail has really taken off.
Comments
Comment #1
pillarsdotnet commentedWill look into...
Comment #2
pillarsdotnet commentedWell, the "echo" module doesn't work while in maintenance mode, because it themes text as the anonymous user.
Dunno just how to get around that...
Comment #3
pillarsdotnet commentedFixed; will roll a new release momentarily...
Comment #4
pillarsdotnet commentedFixed in 7.x-2.41 release.
I modified the mail sending code to briefly turn off
maintenance_modewhile callingecho_themed_page().I still need to add docs to Echo module accordingly.
Thank you for your report. I never would have thought to try sending mail from maintenance mode.
Comment #5
pillarsdotnet commentedComment #6
pillarsdotnet commentedAlso fixed in Echo 7.x-1.6. When usage stats show that most people have switched to that release or later, I'll probably remove the workaround code from HTML Mail.
Comment #7
blasthaus commentedWow that was fast, thanks! i noticed later that turning off echo made everything work for me as i'm not using it. In fact, with respect to simplenews, I'd like the ability not to have echo doing it's magic. Once again, hats off for all the work on this module. I'm lovin it. I'll probably put in a few feature requests as well. hope you don't mind!
Comment #9
pillarsdotnet commentedFiling under Echo, which is where the fix actually happened.