Mass Contact does not honor turning off "Send as HTML by default."
| Project: | Mass Contact |
| Version: | 6.x-1.0-beta2 |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
To reproduce the bug:
1. Go to admin/build/mass_contact/settings
2. Uncheck "Send as HTML by default."
3. Click "Save configuration" button.
4. Scroll back up and observe that "Send as HTML by default." is still checked!
Expected result:
#4, above, should have shown that "Send as HTML by default." was no longer checked.
Additional information:
1. I looked in the "variable" table in mysql, and noticed that the database version of the variable name that controls this value is "mass_contact_HTML_d".
2. The variable name that the form is looking for is "mass_contact_html_d" ("html" is in lowercase!).
3. Because the lowercase version is UNSET, the default value of 1 is selected.
4. The CHANGELOG.txt file says that the mass_contact_HTML_d variable is now mass_contact_html_d.
5. The mass_contact.install/mass_contact_update_6000 file should have updated that variable.
Work-around:
I'll just use phpmyadmin and rename that variable to match the new scheme.

#1
I found another work around. Disable the module. Uninstall it. Then re-enable the module and set it up again.
#2
I've added update number 6001 to fix this for anyone who hasn't already. The commit to the development version is here: http://drupal.org/cvs?commit=252634. Thanks for pointing it out.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.