I recently discovered the hidden "store sent emails into imap folder" functionality, however, it was broken. Here's my quick fix that seems to work nicely:
/application/Espo/Services/EmailAccount.php - line 154:
-- $storage->appendMessage($message, $folder);
++ $storage->appendMessage($message->toString(), $folder);
/application/Espo/Services/EmailAccount.php - line 154:
-- $storage->appendMessage($message, $folder);
++ $storage->appendMessage($message->toString(), $folder);
Comment