Skip to content

Commit

Permalink
test 4
Browse files Browse the repository at this point in the history
  • Loading branch information
matidau committed Aug 1, 2024
1 parent 77d5218 commit b8eb7d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/backend/imap/imap.php
Original file line number Diff line number Diff line change
Expand Up @@ -3124,6 +3124,9 @@ public function saveDraftMail($sm) {
}

ZLog::Write(LOGLEVEL_WARN, sprintf("BackendIMAP->SaveDraftMail(): We get the new message"));
ZLog::Write(LOGLEVEL_WARN, sprintf("BackendIMAP->SaveDraftMail(): sm->mimedata: %s", $sm->mimedata));

// set $message if there is mimedata
$mobj = new Mail_mimeDecode($sm->mimedata);
$message = $mobj->decode(array('decode_headers' => 'utf-8', 'decode_bodies' => true, 'include_bodies' => true, 'rfc_822bodies' => true, 'charset' => 'utf-8'));
unset($mobj);
Expand Down

0 comments on commit b8eb7d3

Please sign in to comment.