diff --git a/Messaging/Mail/MailSession.vb b/Messaging/Mail/MailSession.vb index e0ad7362..5b9fa556 100644 --- a/Messaging/Mail/MailSession.vb +++ b/Messaging/Mail/MailSession.vb @@ -216,11 +216,11 @@ Namespace Mail Else Try - Logger.Debug("Unknown Auth type. Using PLAINTEXT connection.") + Logger.Debug("Auth type [{0}]. Using PLAINTEXT connection.", Session.AuthType) Client.Connect(pSession.Server, pSession.Port, useSSL:=False) Logger.Info("Connection Successful!") Catch ex As Exception - Logger.Warn("Error while connecting with Auth type PLAINTEXT!") + Logger.Warn("Error while connecting with Auth type [{0}]!", Session.AuthType) Logger.Error(ex) pSession.Error = ex