Hello All, I am trying to send emails from an app using a sqlite database holding the recipient details. When I attempt to send the mail I get the following error.
"Java.lang.runtimeException:Empty writer returnedd:503.5.0.0 Need MAIL command"
I have check the connection to the SMTP server using the client on the Table and also on a PC and they all work.
I have also tried changes how the smpt client is initialised.
SMTPServer.Initialize("smtp.acme.com",587,"username","password","SMTPServer")
SMTPServer.Initialize("smtp.acme.com",587,"[email protected]","password","SMTPServer")
I get the following error when trying to log on this way
Java.lang.runtimeException:Empty writer returnedd:503.5.0.0 Need RCPT(recipient)
even though I have this command SMTPServer.To.Add("[email protected]")
I have check the beginner guide /Tutorials on SMTP (http://www.b4x.com/android/help/net.html#smtp) and I can't find anything on the errors.
Any help appreciated.
Regards
BOB
"Java.lang.runtimeException:Empty writer returnedd:503.5.0.0 Need MAIL command"
I have check the connection to the SMTP server using the client on the Table and also on a PC and they all work.
I have also tried changes how the smpt client is initialised.
SMTPServer.Initialize("smtp.acme.com",587,"username","password","SMTPServer")
SMTPServer.Initialize("smtp.acme.com",587,"[email protected]","password","SMTPServer")
I get the following error when trying to log on this way
Java.lang.runtimeException:Empty writer returnedd:503.5.0.0 Need RCPT(recipient)
even though I have this command SMTPServer.To.Add("[email protected]")
I have check the beginner guide /Tutorials on SMTP (http://www.b4x.com/android/help/net.html#smtp) and I can't find anything on the errors.
Any help appreciated.
Regards
BOB
Last edited: