Closed (fixed)
Project:
Mime Mail
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2010 at 11:32 UTC
Updated:
26 Aug 2010 at 11:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
sgabe commentedThe attached patch changes the
mimemail_prepare()function tomimemail_prepare_message()to prevent function collision withhook_prepare()in modules that uses MimeMail API and defines custom content type(s).Please review it and set to RTBC if it's fine.
Comment #2
neoglez commentedThanks for the answer.
It still has a problem (also the patch):
if (is_null($sender)) { // use site default for sender
@@ -168,7 +168,7 @@
$message = $engine_prepare
(also in here must be $engine_prepare_message)($sender, $recipient, $subject, $body, $plaintext, $headers, $text, $attachments, $mailkey);
}
else {
- $message = mimemail_prepare($sender, $recipient, $subject, $body, $plaintext, $headers, $text, $attachments, $mailkey);
+ $message = mimemail_prepare_message($sender, $recipient, $subject, $body, $plaintext, $headers, $text, $attachments, $mailkey);
}
return $engine('send', $message);
Please post another patch so i can test it and close the issue.
Still a Great module!
Comment #3
sgabe commentedThanks for your feedback, attaching a revised patch of #1.
If you think it's okay, please don't close the issue, change to RTBC instead.
Comment #4
neoglez commentedIt seems to be OK now. Thanks!
Comment #5
vatavale commented-deleted-
Comment #6
sgabe commentedCommitted to HEAD.