Android Question [SOLVED] email SMTP ETIMEDOUT

manuel_g

Member
Licensed User
Hi!

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
 

manuel_g

Member
Licensed User
Thank you Erel

Actually, with other wifi net it works again...
Then I came back to the old wifi net, and it worked... (I did nothing)

Technology :3
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…