Local server seems not to find mail.properties file

What is the location to put the mail.properties file? Local server seems not to be able to find it if placed in same directory as server jar. If placed in Datafile directory parser file occurs.

Part of logfile showing that example@gmail.com is still used.

20:50:07.985 INFO - Application server port 8443.
20:50:07.999 INFO - Administration server port 8777.
20:52:34.546 INFO - Using data dir ‘/home/pi/Blynk’
20:52:44.186 INFO - Initializing mail transport. Username : example@gmail.com. SMTP host : smtp.gmail.com:587
20:52:45.896 INFO - Plain tcp/ip hardware server port 8442.
20:52:45.903 WARN - ATTENTION. Certificate / and key / paths not valid. Using embedded certs. This is not secure. Please replace it with your own certs.
20:52:53.804 INFO - SSL hardware port 8441.
20:52:53.829 INFO - Enabling SSL for application.
20:52:53.830 WARN - ATTENTION. Server certificate paths cert : ‘/’, key : ‘/’ - not valid. Using embedded server certs and one way ssl. This is not secure. Please replace it with your own certs.
20:52:55.058 INFO - Application server port 8443.
20:52:55.073 INFO - Administration server port 8777.

Hi, please show me command line when you run server.

Commandline is: java -jar /home/pi/server-0.11.2.jar -dataFolder /home/pi/Blynk &

This line is enclosed in startup file in /etc/init.d tot automatically startup the server at boot time.

@Trady please change it to

cd /home/pi
java -jar server-0.11.2.jar -dataFolder /home/pi/Blynk &

And tell me if that works for you.

Solved my problem. Thxs.

A post was split to a new topic: Unable to log into Admin page