From 474109a5df0a06f5343ab184838fe2d80e3872a8 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 11 Jan 2026 19:23:20 +0000
Subject: [PATCH] =Fixed timeline CRUD.js issue where this.activeItem was set null when we still needed it

---
 inc/integrations/PostMark.php |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/inc/integrations/PostMark.php b/inc/integrations/PostMark.php
index baac1bc..f9e154c 100644
--- a/inc/integrations/PostMark.php
+++ b/inc/integrations/PostMark.php
@@ -21,6 +21,7 @@
 	protected string $from_name;
 	protected bool $track_open;
 	protected bool $track_links;
+	protected ?string $lastMessageId = null;
 	/**
 	 * Constructor
 	 */
@@ -257,6 +258,9 @@
 	 */
 	protected function sendEmail(array $payload): bool|WP_Error
 	{
+		if (!$this->isSetUp()) {
+			return false;
+		}
 		try {
 			$response = $this->postRequest('email', $payload);
 

--
Gitblit v1.10.0