in case the original mail subject contains non-ASCII, UTF-8 characters, it is encoded by mimemail. In order to show it correctly in the maillog the subject has to be decoded before storing it in the database.
In maillog_mail_send change
$record->subject = $message['subject'];
to
$record->subject = mime_header_decode($message['subject']);

Comments

miro_dietiker’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Active » Fixed

Fixed.

Also added decode support for from and to header elements.

miro_dietiker’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Fixed » Patch (to be ported)