Hi
I trying use smtp2go service to send email with SMTP but i get this error:
java.lang.RuntimeException: Empty writer returned: 503-All RCPT commands were rejected with this error:
503-503 sender not yet given
503 Valid RCPT command must precede DATA
at anywheresoftware.b4a.net.SMTPWrapper$1.run(SMTPWrapper.java:296)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
with this code:
I trying use smtp2go service to send email with SMTP but i get this error:
java.lang.RuntimeException: Empty writer returned: 503-All RCPT commands were rejected with this error:
503-503 sender not yet given
503 Valid RCPT command must precede DATA
at anywheresoftware.b4a.net.SMTPWrapper$1.run(SMTPWrapper.java:296)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
with this code:
B4X:
email.Initialize("mail.smtp2go.com",587,"user_name","password","smtp")
email.To.Add("someone@gmail.com")
email.Subject = "Test"
email.Body = "testando mensagem pelo B4J do smtp2go"
email.StartTLSMode = True
email.Send