If you are trying to send emails through the PlantConnect server and if you are facing any issue then follow the below-mentioned steps,
1. Check if the client has provided correct credentials by testing them on email utility software.
2. After successful testing of client email credentials on email utility software, Check the email configurations in PLS_WebServerConfig.PROPERTIES file.
3. Check PlantConnect server URL configuration in PLS_WebServerConfig.PROPERTIES file,
For HTTP :
For HTTPS please add port 8443 or 443 according to environment settings,
URL=https://localhost:8443 or https://localhost:443
4. Check if the email credentials are entered correctly in PLS_WebServerConfig.PROPERTIES file,
SmtpHostName=smtp.gmail.com
SmtpUserName=plantconnectaipl@gmail.com
SmtpPassword=Aipl1234*
SmtpPortNo=465
EmailFrom=plantconnectaipl@gmail.com
SSL=true
STARTTLS=true
Note: above-mentioned credentials are of PlantConnect Gmail and these are shown only for reference.
5. After all the configurations, restart the Tomcat service try to send email through the PlantConnect system.
6. For further analysis please check exception logs where email URL should have print and in URL please check for HTTP the URL should have started with http://localhost:8080 and for HTTPS: https://localhost:8443 or https://localhost:443 .
7. After checking all the above points and email still not been able to deliver then please contact Development team.