I have 2 bugs with this module (versions 1.0-alpha6 and current 1.x-dev):

  1. In function mimemail_mailengine (file mimemodule.module) calling function mimemail_rfc_headers, but function mimemail_rfc_headers defined in file mimemail.inc and for this reason i get an error message "Fatal error: Call to undefined function mimemail_rfc_headers() in /<...>/sites/default/modules/mimemail/mimemail.module on line 228". For solving this problem i'm added line module_load_include('inc', 'mimemail'); after line case 'send':.
  2. Function mimemail_prepare_message contians line:
    $body = theme(array('mimemail_message__'. $mailkey, 'mimemail_message'), $subject, $body, $mailkey);
    On this line my web-server (nginx) showing me error message '502 bad gateway'. I'm just commented this line and problem was solved.
CommentFileSizeAuthor
#2 mimemail.979748_01.patch678 bytessgabe

Comments

sgabe’s picture

Title: Bugs in functions mimemail_mailengine and mimemail_prepare_message » Missing include in mimemail_mailengine()
Version: 6.x-1.0-alpha6 » 6.x-1.x-dev

Please, open separate issues for separate bugs in the future. Now open another just for your second problem and let this be only about the first one. Thanks!

sgabe’s picture

Status: Active » Fixed
StatusFileSize
new678 bytes

Patch attached and committed to DRUPAL-6--1.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.