Hi,
I'm having problems sending SMTP , I'm getting an error and I'm not sure why I created a new project just with the email code and it is working nicely
anyone has an explanation to why this could happen (it is not a connectivity issue)
thank you!
I'm having problems sending SMTP , I'm getting an error and I'm not sure why I created a new project just with the email code and it is working nicely
anyone has an explanation to why this could happen (it is not a connectivity issue)
B4X:
11-15 12:50:35.945 13560 15743 W System.err: java.net.ConnectException: failed to connect to smtp.gmail.com/74.125.131.109 (port 465): connect failed: EHOSTUNREACH (No route to host)
11-15 12:50:35.945 13560 15743 W System.err: at libcore.io.IoBridge.connect(IoBridge.java:114)
11-15 12:50:35.945 13560 15743 W System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
11-15 12:50:35.953 13560 15743 W System.err: at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
11-15 12:50:35.953 13560 15743 W System.err: at java.net.Socket.connect(Socket.java:842)
11-15 12:50:35.953 13560 15743 W System.err: at org.apache.commons.net.SocketClient.connect(SocketClient.java:172)
11-15 12:50:35.953 13560 15743 W System.err: at org.apache.commons.net.SocketClient.connect(SocketClient.java:193)
11-15 12:50:35.961 13560 15743 W System.err: at anywheresoftware.b4a.net.SMTPWrapper$1.run(SMTPWrapper.java:204)
11-15 12:50:35.961 13560 15743 W System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
11-15 12:50:35.961 13560 15743 W System.err: at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
11-15 12:50:35.961 13560 15743 W System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:137)
11-15 12:50:35.961 13560 15743 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
11-15 12:50:35.969 13560 15743 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
11-15 12:50:35.969 13560 15743 W System.err: at java.lang.Thread.run(Thread.java:856)
11-15 12:50:35.969 13560 15743 W System.err: Caused by: libcore.io.ErrnoException: connect failed: EHOSTUNREACH (No route to host)
11-15 12:50:35.969 13560 15743 W System.err: at libcore.io.Posix.connect(Native Method)
11-15 12:50:35.976 13560 15743 W System.err: at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:85)
11-15 12:50:35.976 13560 15743 W System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:127)
11-15 12:50:35.976 13560 15743 W System.err: at libcore.io.IoBridge.connect(IoBridge.java:112)
11-15 12:50:35.976 13560 15743 W System.err: ... 12 more
11-15 12:50:35.976 13560 13560 I B4A : MCalls: errror sending mail:libcore.io.ErrnoException: connect failed: EHOSTUNREACH (No route to host)
thank you!