Ms Email
This commit is contained in:
@@ -69,9 +69,10 @@ Public Class Email2
|
||||
pSMTP.StartTLS()
|
||||
End If
|
||||
Logger.Debug("Connection to SMTP Server [{0}] established!", pServer)
|
||||
|
||||
Logger.Debug("Logging in with user [{0}]", pUsername)
|
||||
pSMTP.UseBestLogin(pUsername, pPassword)
|
||||
If pUsername <> String.Empty Then
|
||||
Logger.Debug("Logging in with user [{0}]", pUsername)
|
||||
pSMTP.UseBestLogin(pUsername, pPassword)
|
||||
End If
|
||||
|
||||
Return pSMTP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user