E-mail Integration for Nearby Shops
For Managed Setup
E-mail Integration comes out of the box with our hosting service. Therefore you dont have to do anything in order to setup E-mail.
For Self-Hosted Setup
For e-mail there are many service providers like mailgun, sendgrid etc. Just register your account on any of your favourite e-mail provider and get your smtp credentials. Then put those in the api_config.properties file.
If you have installed your Instance using Docker then follow these steps.
Enter and Get inside your container.
Commands
docker-compose start
(please ensure that you are inside the directory where your docker-compose.yml resides)
docker exec -it nbs_api_container bash
cd ~/nearbyshops/data
sudo nano api_config.properties
(Exit container using Ctrl + C or Ctrl + D)
Update the api_config.properties file with SMTP credentials and then save it using Ctrl + X
Dont forget to restart the container server after making changes to the api_config.properties file.
Commands : Restart Container
docker-compose restart
(please ensure that you are inside the directory where your docker-compose.yml resides)
If you have done a manual installation then follow these steps.
Code
cd ~/nearbyshops
sudo nano api_config.properties
Update the api_config.properties file with the SMTP credentials.
Dont forget to restart the server after making changes to the api_config.properties file.
To restart your server use the following commands
Code
sudo systemctl restart nearbyshopsapi
OR
Code
shutdown -r now
If you face any difficulty feel free to get in touch with us on our forum !