From 8d7fc94912bc3f1ceeb104ac9d0a564418a98fb4 Mon Sep 17 00:00:00 2001
From: Emagi <image.emagi@gmail.com>
Date: Wed, 24 Aug 2022 14:59:19 -0400
Subject: [PATCH] Fixed new mail not being available to player until zoning

---
 EQ2/source/WorldServer/client.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/EQ2/source/WorldServer/client.cpp b/EQ2/source/WorldServer/client.cpp
index 0f46cc853..b40726f6b 100755
--- a/EQ2/source/WorldServer/client.cpp
+++ b/EQ2/source/WorldServer/client.cpp
@@ -8276,6 +8276,7 @@ void Client::HandleSentMail(EQApplicationPacket* app) {
 							if (postage_cost > 0 || attachment_cost > 0)
 								PlaySoundA("coin_cha_ching");*/
 							mail->save_needed = false;
+							database.SavePlayerMail(mail);
 							Client* to_client = zone_list.GetClientByCharID(player_to_id);
 							if (to_client) {
 								to_client->GetPlayer()->AddMail(mail);
@@ -8283,7 +8284,6 @@ void Client::HandleSentMail(EQApplicationPacket* app) {
 								string popup_text = "You have unread mail!";
 								to_client->SendPopupMessage(10, popup_text.c_str(), "", 3, 0xFF, 0xFF, 0xFF);
 							}
-							database.SavePlayerMail(mail);
 							ResetSendMail(false, false);
 						}
 						else