Skip to content

Commit

Permalink
savedraftmail change
Browse files Browse the repository at this point in the history
  • Loading branch information
matidau committed Aug 1, 2024
1 parent 9911f76 commit 1698b0f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/backend/imap/imap.php
Original file line number Diff line number Diff line change
Expand Up @@ -3098,12 +3098,7 @@ private function get_attributes_list() {
* @throws StatusException
*/
public function saveDraftMail($message) {
ZLog::Write(LOGLEVEL_DEBUG, sprintf("BackendIMAP->SaveDraftMail(): RFC822: %d bytes forward-id: '%s' reply-id: '%s' parent-id: '%s' SaveInSent: '%s' ReplaceMIME: '%s'",
strlen($message->mime),
Utils::PrintAsString($message->forwardflag ? (isset($message->source->itemid) ? $message->source->itemid : "error no itemid") : false),
Utils::PrintAsString($message->replyflag ? (isset($message->source->itemid) ? $message->source->itemid : "error no itemid") : false),
Utils::PrintAsString((isset($message->source->folderid) ? $message->source->folderid : false)),
Utils::PrintAsString(($message->saveinsent)), Utils::PrintAsString(isset($message->replacemime))));
ZLog::Write(LOGLEVEL_DEBUG, sprintf("BackendIMAP->SaveDraftMail(): RFC822: "));

// by splitting the message in several lines we can easily grep later
if(ZLog::IsWbxmlDebugEnabled()) {
Expand Down

0 comments on commit 1698b0f

Please sign in to comment.