diff --git a/Services.ZUGFeRDService/Config.vb b/Services.ZUGFeRDService/Config.vb
index bd0a7b4b..ae3f1000 100644
--- a/Services.ZUGFeRDService/Config.vb
+++ b/Services.ZUGFeRDService/Config.vb
@@ -41,9 +41,14 @@
''' Minimum file age. If one file is newer than this, the whole group will be skipped
''' to ensure that all files of a group have been created.
'''
- '''
Public Property MinFileAgeInMinutes As Integer = 5
+ '''
+ ''' GUID des EMail Templates das bei Ablehnungsmails verwendet wird.
+ ''' Siehe Tabelle DD_ECM.dbo.TBDD_EMAIL_TEMPLATE
+ '''
+ Public Property RejectionTemplateId As Integer = 0
+
Public Property AllowFacturX As Boolean = False
Public Property AllowXRechnung As Boolean = False
Public Property AllowZugferd10 As Boolean = True
diff --git a/Services.ZUGFeRDService/ThreadRunner.vb b/Services.ZUGFeRDService/ThreadRunner.vb
index 9662eef3..daaa9810 100644
--- a/Services.ZUGFeRDService/ThreadRunner.vb
+++ b/Services.ZUGFeRDService/ThreadRunner.vb
@@ -51,7 +51,8 @@ Public Class ThreadRunner
.AllowFacturX = _config.Config.Custom.AllowFacturX,
.AllowXRechnung = _config.Config.Custom.AllowXRechnung,
.AllowZugferd10 = _config.Config.Custom.AllowZugferd10,
- .AllowZugferd2x = _config.Config.Custom.AllowZugferd2x
+ .AllowZugferd2x = _config.Config.Custom.AllowZugferd2x,
+ .RejectionTemplateId = _config.Config.Custom.RejectionTemplateId
}
oArgs = LoadFolderConfig(oArgs)