B4J Question [SOLVED] Error when send email in Ubuntu

incendio

Well-Known Member
Licensed User
Longtime User
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?
 
Last edited:
Top