Am using Drupal 6.5, and having a problem with blank E-mails coming form the site. Seems like all E-mails that the site sends have From:, To:, Subject: fields just fine, however the body is blank.
All was working fine until about 3 days ago. Not sure of the exact timing since it was brought to my attention by users, so not sure if it started prior to or after my 6.5 upgrade.
I've disabled any modules that would be involved in sending or changing default E-mails from the site. This impacts all mails sent using Password reset, new user registration, contact forms (core) and any other E-mails that come from the site. I don't see anything in the logs that points in the right direction. I've gone to the site and sent myself a password reset, as well as contact forms, and can consistently duplicate the problem.
Not sure where the next place to look should be. Any suggestions?
Regards,
Ken Richards
Comments
=-=
administer -> user settings
are the email bodies still filled in ?
if so try resaving the form and retest.
-
Had checked previously, but did a recheck. All E-mail bodies are filled in, including tokens. I did do a reset all defaults since I hadn't done that, just in case. (I have not modified any of the default text).
Did a resubmit of the contact form to myself, and had the same results, Body text of the E-mail is completely blank.
Regards,
Ken
Cause: Mime Mail
I think I found the problem, but not sure why just yet. I had installed Mime Mail to be able to send some HTML newsletters, and had activated it. When this problem started, It was one of the first modules that I deactivated. Even with doing this, the problem didn't go away.
I had installed some Devel tools to try and see what was being sent in the variables, but before I even got that far, while going through the options, I noticed that one of the SMTP choices was the same Mime Mail module, even though it was turned off.
I went in and deleted the entire directory, not just turning it off. I then went and sent a contact form to myself, and lo and behold, the mail came through body and all.
Not sure what caused it, or why it was still involved despite being turned off, but the problem is now solved.
Mime Mail is not a critical module for me right now, so nothing lost, but glad I got the E-mail stuff fixed!
Regards,
Ken
Same problem
I had the same problem with Drupal 6.6 and the Mime Mail 6.x-1.x-dev (2008-09-21) installed. When Anonymous users post the contact-form the mail contains only the text "niet beschikbaar" (="not available" in Dutch). When posting the form as User-1 there is no problem.
Unchecking the option "Use mime mail for all messages" in /admin/settings/mimemail solved the problem.
Regards,
Erik Langhout
ELONISAS
Solution: #456260:
Solution: #456260: WSOD: smtp_library variable is not removed when mimemail has been disabled