Hi guys,
I have follow this tutorial to send an email
At first, it gave an error, something like no authorization.
After I set in my gmail account
Allow less secure apps: ON
It was run OK (on Windows 10)
I have uploaded that jar to my ubuntu vps server and run it but got this error
Empty writer returned: 530-5.7.0 Authentication Required. Learn more at
530 5.7.0 https://support.google.com/mail/?p=WantAuthError 62sm4437578pfu.181 - gsmtp
I have also changed gmail password as suggested by this thread
But, still got error.
Any idea, how to solve this problem?
I have follow this tutorial to send an email
Building a mini "Email based server"
This example uses jNet library together with the MailParser module to build a program that responds to emails. Although it sounds a bit strange, using emails as the communication channel can be very simple and useful. You do not need to worry about hosting, firewall or (partially) downtime...
www.b4x.com
At first, it gave an error, something like no authorization.
After I set in my gmail account
Allow less secure apps: ON
It was run OK (on Windows 10)
I have uploaded that jar to my ubuntu vps server and run it but got this error
Empty writer returned: 530-5.7.0 Authentication Required. Learn more at
530 5.7.0 https://support.google.com/mail/?p=WantAuthError 62sm4437578pfu.181 - gsmtp
I have also changed gmail password as suggested by this thread
smtp.gmail.com
Error: java.lang.RuntimeException: Empty writer returned: 530-5.7.0 Authentication Required. Learn more at 530 5.7.0 https://support.google.com/mail/?p=WantAuthError x16sm6245133qki.89 - gsmtp After many days trying to use "Private smtp As SMTP" in my server app (which used to work just...
www.b4x.com
But, still got error.
Any idea, how to solve this problem?
Last edited: