How to authorize my VPS to use my Gmail account?

Published: 8/11/2019
How to authorize my VPS to use my Gmail account?
Source: SERVERFAULT.COM

I have a Java server (WAR) that I develop and I want to add a "contact us" rest API where it will use my gmail account to send the email to me (my gmail account). On my local computer it works and now I want to deploy the war to my vps (ubuntu). I need to authorize it to use my Gmail account, otherwise I will get a suspicious sign in that was blocked. How can I do it? Thanks

Read more
Related news
Comment
FACEBOOK