Loading CHANGELOG.txt +1 −0 Changes for CHANGELOG.txt: 1 added line, 0 removed lines. Original line number Diff line number Diff line Mailhandler 6.x-2.x, 2011-10-16 ------------------------------- #1029134 by laurent.lemercier: Added cleaning of ISO-8859-1 encoding in messages. #1283198 by Dane Powell: Fixed broken mailbox exports. #1260106 by jeffvanh, Dane Powell: Added option to ignore failed authentication. #1191722 by Dane Powell: Added cc and bcc addresses as mapping sources. Loading plugins/commands_plugin/MailhandlerCommandsFiles.class.php +1 −1 Changes for plugins/commands_plugin/MailhandlerCommandsFiles.class.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ class MailhandlerCommandsFiles extends MailhandlerCommands { // 'unnamed_attachment' files are not really attachments, but mimeparts like HTML or Plain Text. // We only want to save real attachments, like images and files. if ($attachment->filename !== 'unnamed_attachment') { $file = file_save_data($attachment->data, file_directory_temp() . '/' . $attachment->filename); $file = file_save_data($attachment->data, file_directory_temp() . '/' . mb_decode_mimeheader($attachment->filename)); $message['attachments'][] = new FeedsEnclosure($file, $attachment->filemime); } } Loading plugins/commands_plugin/MailhandlerCommandsHeaders.class.php +5 −0 Changes for plugins/commands_plugin/MailhandlerCommandsHeaders.class.php: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -15,10 +15,15 @@ class MailhandlerCommandsHeaders extends MailhandlerCommands { foreach ($parts as $key => $value) { // Some keys are already taken, so do not overwrite them. if (!in_array($key, array('header', 'origbody', 'mimeparts', 'mailbox', 'attachments'))) { if (in_array($key, array('Subject', 'subject'))) { $message[$key] = mb_decode_mimeheader($value); } else { $message[$key] = $value; } } } } function getMappingSources() { $sources = array(); Loading Loading
CHANGELOG.txt +1 −0 Changes for CHANGELOG.txt: 1 added line, 0 removed lines. Original line number Diff line number Diff line Mailhandler 6.x-2.x, 2011-10-16 ------------------------------- #1029134 by laurent.lemercier: Added cleaning of ISO-8859-1 encoding in messages. #1283198 by Dane Powell: Fixed broken mailbox exports. #1260106 by jeffvanh, Dane Powell: Added option to ignore failed authentication. #1191722 by Dane Powell: Added cc and bcc addresses as mapping sources. Loading
plugins/commands_plugin/MailhandlerCommandsFiles.class.php +1 −1 Changes for plugins/commands_plugin/MailhandlerCommandsFiles.class.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ class MailhandlerCommandsFiles extends MailhandlerCommands { // 'unnamed_attachment' files are not really attachments, but mimeparts like HTML or Plain Text. // We only want to save real attachments, like images and files. if ($attachment->filename !== 'unnamed_attachment') { $file = file_save_data($attachment->data, file_directory_temp() . '/' . $attachment->filename); $file = file_save_data($attachment->data, file_directory_temp() . '/' . mb_decode_mimeheader($attachment->filename)); $message['attachments'][] = new FeedsEnclosure($file, $attachment->filemime); } } Loading
plugins/commands_plugin/MailhandlerCommandsHeaders.class.php +5 −0 Changes for plugins/commands_plugin/MailhandlerCommandsHeaders.class.php: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -15,10 +15,15 @@ class MailhandlerCommandsHeaders extends MailhandlerCommands { foreach ($parts as $key => $value) { // Some keys are already taken, so do not overwrite them. if (!in_array($key, array('header', 'origbody', 'mimeparts', 'mailbox', 'attachments'))) { if (in_array($key, array('Subject', 'subject'))) { $message[$key] = mb_decode_mimeheader($value); } else { $message[$key] = $value; } } } } function getMappingSources() { $sources = array(); Loading