Android Question Gmail Problem

gigi0ne

Member
Licensed User
Longtime User
Hello everybody
I have a problem with GMail

I get this message back
530 5.7.0 https://support.google.com/mail/?p=WantAuthError d26-20020a056402401a00b004438a13ab73sm7703602eda.5 - gsmtp

which should be returned when SMTP.StartTLSMode is not active

Obviously SMTP.StartTLSMode is true in the program

Any idea how to resolve the situation?

Thank you


SMTP SEND:
sub CompleteOrder
    If FirstSmtp Then
        SMTP.Initialize("smtp.gmail.com", 587, "xxxxxx", "yyyyyy", "SMTP")
        SMTP.StartTLSMode = True
        FirstSmtp = False
    End If
    SMTP.To.Add("xxxxxx")
    SMTP.Subject = "This is the subject"
    SMTP.Body = "This is the message body."
    SMTP.Send
End Sub

Sub SMTP_MessageSent(Success As Boolean)
    Log(Success)
    If Success Then
        ToastMessageShow("Message sent successfully", True)
    Else
        ToastMessageShow("Error sending message", True)
        Log(LastException.Message)
    End If
End Sub
 
Top