sent folder encoding

This commit is contained in:
Yuri Kuznetsov
2024-06-03 11:27:42 +03:00
parent 0941bd440e
commit 5f70d1b408
@@ -125,6 +125,10 @@ class LaminasStorage implements Storage
public function appendMessage(string $content, ?string $folder = null): void
{
if ($folder !== null) {
$folder = mb_convert_encoding($folder, 'UTF7-IMAP', 'UTF-8');
}
$this->imap->appendMessage($content, $folder);
}
}