EMail Profiler: Konfiguration erweitert (RejectionTemplateId)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user