I'm using SMTP to send emails and works fine with the mobile internet (the app is instaled) but using WiFi (as debug mode) the mail is not send and shows this log:
android.system.ErrnoException: connect failed: ETIMEDOUT (Connection timed out)
Any idea?
Thank you
B4X:
Dim SMTP As SMTP
SMTP.Initialize("smtp.hostinger.co", 587, "no-responder@agrosig.net", "xxxxx", "SMTP")
SMTP.StartTLSMode = False
SMTP.To.Add("manuelgonzalezm9@gmail.com")
SMTP.Subject = "asunto"
SMTP.Body = "cuerpo"
SMTP.Send