Closed (fixed)
Project:
HTML Mail
Version:
7.x-2.61
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
28 Oct 2011 at 14:09 UTC
Updated:
22 Nov 2011 at 16:50 UTC
Jump to comment: Most recent file
I have configured HTMLMail to work with SMTP by following the instructions here: http://drupal.org/node/1200142. Now when I send a test email, everything works correctly.
After I visit admin/config page, mail doesn't work any more. The reason is that admin/config path triggers hook_requirements and htmlmail_requirements changes the variable "mail_system" so that it doesn't work with SMTP any more.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | htmlmail-test-class-1324980-7.patch | 2.22 KB | pillarsdotnet |
| #5 | htmlmail-test-class-1324980-5.patch | 2.12 KB | pillarsdotnet |
| #1 | htmlmail-test-class-1324980-1.patch | 1.63 KB | pillarsdotnet |
Comments
Comment #1
pillarsdotnet commented(looking..)
Yeah, it does. I put that line in because a lot of 7.x mail modules unconditionally set mail_system to point to their own class, and I wanted the HTML Mail test page (at least) to test the HTML Mail class.
I suppose I should move the "Is the HTML Mail module sending mail via its own class?" to the test mail page, and make the reset optional.
(clickety...)
Okay; try this patch. If it works for you, I'll push it to a new release.
Comment #2
pillarsdotnet commentedAnyone?
Comment #3
ccoppen commentedApplied patch to 7.x-2.61 and got the following in the log with no messages sent. Even smtp is not sending a test message now.
First message:
Second:
Third:
Fourth and final:
I've been having issues with cleanly sending html emails for simplenews and keep getting message body empty and thought this might help, but now it's only broken even more stuff.
Modules used:
HTML Mail: 7.x-2.6.1
Mail Mime: 7.x-2.15
Mail System 7.x-2.30
Simplenews 7.x-1.x-dev
SMTP Authentication Support 7.x-1.x-dev
With the appropriate patches to allow for inter-cooperation.
Comment #4
ccoppen commentedJust an update to say that I switched to the supported versions of said modules, applied the patch to get smtp to play well and applied this patch and still getting the above errors.
Comment #5
pillarsdotnet commentedSorry; here's a better patch.
Comment #6
ccoppen commentedWell, that seemed to fix a whole lot of problems I've been having. Time to do some more tests, however.
Still getting the following:
But it's not fatal, thankfully.
Comment #7
pillarsdotnet commentedFix for the undefined index error.
Comment #8
ccoppen commentedWorks. Now to figure out my other problems dealing with the templates in a custom theme.
Comment #9
pillarsdotnet commentedReleased 7.x-2.62.
Thanks very much for your help in testing.