From 823386d304ce011f73342a576e7c8fb099cf129a Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Fri, 5 Aug 2022 11:33:13 +0200 Subject: [PATCH] fix wrong message id in history table --- App/DigitalData.EMLProfiler/clsWorkEmail.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/App/DigitalData.EMLProfiler/clsWorkEmail.vb b/App/DigitalData.EMLProfiler/clsWorkEmail.vb index 54b500a..82c29b8 100644 --- a/App/DigitalData.EMLProfiler/clsWorkEmail.vb +++ b/App/DigitalData.EMLProfiler/clsWorkEmail.vb @@ -738,7 +738,7 @@ Public Class clsWorkEmail If MessageError = False Then Dim ins = $"INSERT INTO TBEMLP_HISTORY (WORK_PROCESS,EMAIL_MSGID,EMAIL_SUBJECT,EMAIL_DATE,EMAIL_BODY,EMAIL_SUBSTRING1,EMAIL_SUBSTRING2,EMAIL_FROM,PROFILE_ID) VALUES " & $"('{CURRENT_MAIL_PROCESS_NAME}'," & - $"'{CURRENT_MAIL_MESSAGE.MessageID.Replace("<", "").Replace(">", "")}'," & + $"'{CURRENT_MAIL_MESSAGE_ID}'," & $"'{CURRENT_MAIL_SUBJECT}'," & $"'{CURRENT_MAIL_MESSAGE.Date}'," & $"'{CURRENT_MAIL_BODY_ALL}'," &