Posts

Basic Server Setup To start off, we need to set the password of the PostgreSQL user (role) called “postgres”; we will not be able to access the server externally otherwise. As the local “postgres” Linux user, we are allowed to connect and manipulate the server using the psql command. In a terminal, type: sudo -u postgres psql postgres this connects as a role with same name as the local user, i.

https://stackoverflow.com/questions/21087564/gmail-smtp-is-not-working-in-ec2-instance

https://linuxconfig.org/configuring-gmail-as-sendmail-email-relay

Go to https://www.google.com/settings/security/lesssecureapps and set Access for less secure apps to On

goto : https://accounts.google.com/DisplayUnlockCaptcha

and click continue this going to allow access from other servers.

https://www.mkyong.com/java/javamail-api-sending-email-via-gmail-smtp-example/