mirror of
https://github.com/jakobadam/RDSFactor.git
synced 2025-07-23 10:05:55 +02:00
server/RDSFactor.vb: Spelling/grammar fix.
This commit is contained in:
parent
aea197e5a3
commit
d4af4d6f6a
1 changed files with 2 additions and 2 deletions
|
@ -253,7 +253,7 @@ Public Class RDSFactor
|
||||||
mail.To.Add(email)
|
mail.To.Add(email)
|
||||||
mail.From = New MailAddress(SenderEmail)
|
mail.From = New MailAddress(SenderEmail)
|
||||||
mail.Subject = "Token: " & passcode
|
mail.Subject = "Token: " & passcode
|
||||||
mail.Body = "Subject contains the token code to login to you site"
|
mail.Body = "Subject contains the token code to login to the site"
|
||||||
mail.IsBodyHtml = False
|
mail.IsBodyHtml = False
|
||||||
Dim smtp As New SmtpClient(MailServer)
|
Dim smtp As New SmtpClient(MailServer)
|
||||||
|
|
||||||
|
@ -261,7 +261,7 @@ Public Class RDSFactor
|
||||||
Try
|
Try
|
||||||
smtp.Send(mail)
|
smtp.Send(mail)
|
||||||
If DEBUG = True Then
|
If DEBUG = True Then
|
||||||
LogDebug(Now & ": Mail send to: " & email)
|
LogDebug(Now & ": Mail sent to: " & email)
|
||||||
End If
|
End If
|
||||||
Return "SEND"
|
Return "SEND"
|
||||||
Catch e As InvalidCastException
|
Catch e As InvalidCastException
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue