EMail Profiler: Konfiguration erweitert (RejectionTemplateId)

This commit is contained in:
2024-04-24 11:18:48 +02:00
parent 0db24f53e9
commit 79edfe385a
4 changed files with 23 additions and 4 deletions

View File

@@ -5,4 +5,11 @@
Public Property EmailSenderLimitation As String = ""
Public Property ConnectionString As String = ""
Public Property UseWindream As Boolean = False
''' <summary>
''' GUID des EMail Templates das bei Ablehnungsmails verwendet wird.
''' Siehe Tabelle DD_ECM.dbo.TBDD_EMAIL_TEMPLATE
''' </summary>
Public Property RejectionTemplateId As Integer = 0
End Class

View File

@@ -55,7 +55,8 @@ Public Class MyService
End If
EmailWorker = New clsWorkEmail(LogConfig, Config.ConnectionString, DBConfig.WindreamConnectionString,
Config.UseWindream, Config.EmailAccountId, Config.EmailTitlePrefix)
Config.UseWindream, Config.EmailAccountId, Config.EmailTitlePrefix,
Config.RejectionTemplateId)
Logger.Debug("Module Workmail initialized")
If Database.DBInitialized = False Then
@@ -102,7 +103,8 @@ Public Class MyService
Config.UseWindream,
Config.EmailAccountId,
Config.EmailSenderLimitation,
Config.EmailTitlePrefix)
Config.EmailTitlePrefix,
Config.RejectionTemplateId)
oWorker.Start_WorkingProfiles()
Catch ex As Exception
Logger.Error(ex)