MS Changes GUI ComServ
This commit is contained in:
1
DD_CommunicationService/MyComService.Designer.vb
generated
1
DD_CommunicationService/MyComService.Designer.vb
generated
@@ -44,6 +44,7 @@ Partial Class MyComService
|
||||
'
|
||||
'MyComService
|
||||
'
|
||||
Me.AutoLog = False
|
||||
Me.CanShutdown = True
|
||||
Me.ServiceName = "DDEDMI_ComService"
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ Public Class MyComService
|
||||
If oAccountRow.Item("GUID") = oEMAILACCOUNT_ID Then
|
||||
oMailFrom = oAccountRow.Item("EMAIL_FROM")
|
||||
oMailSMTP = oAccountRow.Item("SERVER_OUT")
|
||||
oMailport = oAccountRow.Item("PORT")
|
||||
oMailport = oAccountRow.Item("PORT_OUT")
|
||||
oMailUser = oAccountRow.Item("EMAIL_USER")
|
||||
oAuthType = oAccountRow.Item("AUTH_TYPE")
|
||||
oMailPW = oAccountRow.Item("EMAIL_PW")
|
||||
@@ -120,12 +120,17 @@ Public Class MyComService
|
||||
End If
|
||||
|
||||
If _Email.NewEmail(oEmailTo, oSubject, oBody, oMailFrom, oMailSMTP, oMailport, oMailUser, oMailPW, oAuthType) = True Then
|
||||
Dim upd = "UPDATE TBPMO_WORKFLOW_REMINDER SET EMAIL_SENT = CURRENT_TIMESTAMP WHERE GUID = " & oGUID
|
||||
Dim upd = "UPDATE TBEDM_EMAIL_QUEUE SET EMAIL_SENT = CURRENT_TIMESTAMP WHERE GUID = " & oGUID
|
||||
_firebird.ExecuteNonQuery(upd)
|
||||
End If
|
||||
Next
|
||||
Else
|
||||
_Logger.Warn("Check the Email_Config Tables in EDM_MASTER. At least on table returns nothing or is empty.")
|
||||
If oDT_EMAIL_ACCOUNT.Rows.Count = 0 Then
|
||||
_Logger.Warn("Check the Email_Config Table TBEDM_EMAIL_ACCOUNT. The table seems to be empty.")
|
||||
ElseIf IsNothing(oDT_EMAIL_QUEUE) Then
|
||||
_Logger.Warn($"DT_EMAIL_QUEUE is nothing: {oSQL}")
|
||||
End If
|
||||
|
||||
End If
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user