From 3eef13861a5e564e778f80d90fee2778125b77f5 Mon Sep 17 00:00:00 2001 From: Thomas Helmrich <3374563+develth@users.noreply.github.com> Date: Mon, 21 Jul 2025 18:59:40 +0200 Subject: [PATCH] fix: should be options since 6.0 --- src/Message.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Message.php b/src/Message.php index 9d15a7b8..07d6e30e 100755 --- a/src/Message.php +++ b/src/Message.php @@ -1127,7 +1127,7 @@ protected function fetchNewMail(Folder $folder, int $next_uid, string $event, bo public function delete(bool $expunge = true, ?string $trash_path = null, bool $force_move = false): bool { $status = $this->setFlag("Deleted"); if ($force_move) { - $trash_path = $trash_path === null ? $this->config["common_folders"]["trash"] : $trash_path; + $trash_path = $trash_path === null ? $this->options["common_folders"]["trash"] : $trash_path; $this->move($trash_path); } if ($expunge) $this->client->expunge();