MDM-Word Logo, divers
This commit is contained in:
@@ -350,6 +350,18 @@ Public Class cProgramFunctions
|
||||
End Try
|
||||
|
||||
|
||||
'Prüfen, ob Empfänger angegeben:
|
||||
If Msg.To.Count = 0 And Msg.CC.Count = 0 And Msg.Bcc.Count = 0 Then
|
||||
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR("Kein Empfänger!", "TO: " & eMailTo & vbNewLine & "SUBJ: " & betreff & vbNewLine & "TXT: " & text, System.Reflection.MethodBase.GetCurrentMethod.Name, VERAG_PROG_ALLGEMEIN.ERROR_OP.MAIL)
|
||||
Return False
|
||||
End If
|
||||
|
||||
'Msg.To.Clear()
|
||||
'Msg.CC.Clear()
|
||||
'Msg.Bcc.Clear()
|
||||
'Msg.To.Add("al@verag.ag")
|
||||
|
||||
|
||||
|
||||
Try
|
||||
'SENDEN::::::::::::::::::::::
|
||||
@@ -358,7 +370,7 @@ Public Class cProgramFunctions
|
||||
Catch ex As Exception
|
||||
Try 'Falls Fehler nicht beim Senden, sonder was anderes.
|
||||
|
||||
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, "TO: " & eMailTo & vbNewLine & "SUBJ: " & betreff & vbNewLine & "TXT: " & text, ex.StackTrace, System.Reflection.MethodBase.GetCurrentMethod.Name, VERAG_PROG_ALLGEMEIN.ERROR_OP.MAIL)
|
||||
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, "TO: " & eMailTo & vbNewLine & "SUBJ: " & betreff & vbNewLine & "TXT: " & text, ex.StackTrace, System.Reflection.MethodBase.GetCurrentMethod.Name, VERAG_PROG_ALLGEMEIN.ERROR_OP.MAIL)
|
||||
Catch ex3 As Exception
|
||||
End Try
|
||||
|
||||
|
||||
Reference in New Issue
Block a user