MS Fehlerhandling FormatString
This commit is contained in:
@@ -48,17 +48,17 @@ Public Class ClassEmail
|
||||
'*Send the message */
|
||||
emailClient.Send(message)
|
||||
If test = True Then
|
||||
MsgBox("Die Test-Email wurde erfolgreich versendet!", MsgBoxStyle.Information, "Erfolgsmeldung:")
|
||||
MsgBox("TestMail sent successfully!", MsgBoxStyle.Information, "Success:")
|
||||
End If
|
||||
If Log = True Then
|
||||
MsgBox("Die Support-Email wurde erfolgreich versendet!", MsgBoxStyle.Information, "Erfolgsmeldung:")
|
||||
MsgBox("The Support-Email has been sent successfully!", MsgBoxStyle.Information, "Success:")
|
||||
End If
|
||||
'LOGGER.Info(">> Support/Log Email erfolgreich an " & _mailempfaenger & " versendet!", False)
|
||||
Next
|
||||
Return True
|
||||
Catch ex As Exception
|
||||
LOGGER.Error(ex)
|
||||
LOGGER.Info("### Fehler im Mailversand: " & ex.Message)
|
||||
LOGGER.Info("### Error in Mailversand: " & ex.Message)
|
||||
Return False
|
||||
End Try
|
||||
End Function
|
||||
|
||||
Reference in New Issue
Block a user