Does not block email generated in - mass contact - module

Will Kirchheimer - April 1, 2009 - 18:43
Project:Reroute Email
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

5.x-1.0

While testing some a mailing list on my sandbox a test message went out...

The mail section of the "mass contact"module is posted below.

          // Send the e-mail to the recipients:
          if (module_exists('mimemail') && variable_get('mimemail_alter', 0) == 1) {
            $success = mimemail($from, $to, $subject, $body, NULL, $headers, NULL, $message_attachment);
          }
          else {
            $success = drupal_mail('mass-contact-page-mail', $to, $subject, $body, $from, $headers);
          }

We do not have mimemail installed on the server

Any thoughts about this?

Thanks

#1

kbahey - April 1, 2009 - 21:55
Status:active» postponed (maintainer needs more info)

I don't use mass mail myself. I checked the code for Drupal 5.x and there is no reference to mimemail at all.

The reroute email module should intercept all calls to drupal_mail().

Add a few print's or watchdog() to the code and trace what it is doing.

 
 

Drupal is a registered trademark of Dries Buytaert.