Download & Extend

Mimemail returns white screen of death if your site cannot send email

Project:Mime Mail
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

issue: if you cannot send email from your site, mimemail does not return an error message to screen. Instead returns white screen
Fix: remove mimemail until you can get email working on your system
Request: can an error message be written to logs and mimemail not return a white screen but instead return an error message to screen

Notes:
It took me a day to figure out why I keep getting a white screen whenever my site tried to send out emails.

I removed all modules from the modules directory and methodically put each module back in.

I noticed that I received a sys admin message on screen about not being able to send mail (I had to remove all modules. I did not think of looking in the /var/log/mail because I did not get any php errors written to watchdog. Hmmm... I should look at syslog also).

When adding mimemail my screen went blank.

Steps:
request new password
enter email address
press send
WSOD

Comments

#1

Same issue with Drupal 6.10 and simplenews latest dev, subscribing.

#2

I tried disabling "Mime Mail CSS Combiner" module and WSOD disappeared and email worked.

Can anyone confirm?

#3

exactly, it takes me hours to find out that there's something wrong in the MIME Mail CSS Combiner. It may be some PHP related, because on my WAMP (PHP 5.2.9) it works with MIME Mail CSS Combiner enabled, but the Linux server (Redhat Enterprise 5.2), which I installed PHP 5.2.8, it causes WSOD.

#4

Hmm, confirming WSOD for PHP 5.2.6 on Centos 5.

#5

I had the same problem.

Did you check to see if you had the PHP DOM module (php-xml package) installed on your server?

#6

Status:active» needs review

I get into the same problem.

Try latest dev, its working for me.

There was DIE in the code.

<?php
 
if ($mailkey) {
   
$key = check_plain($mailkey);
   
$key = str_replace(' ','-', trim($key));
   
print_r($key); die;
...
?>

#7

Status:needs review» closed (fixed)

Already fixed in the latest development snapshot. Closing this issue.

#8

Same issue here. Where can I find the latest development snapshot? This one says it was last updated in 2009.

Will there be a release with the fix soon? I mean, this really breaks the module's functionality.

#9

On the project page you have version from March 2010.
If this problem appears on that version, please raise separate issue, because this one is closed.
Probably your case is related to something else.