If Email 2 step verification enabled we need to create third party password for Tomcat to send alert or report mails to customer.


1. Take third party 16 digit password for Tomcat from customer. (Note - Do not add space)

     e.g - fcwkvazgljsmbjyl


2. Go to Enviroconnect build ---- conf folder. Take Backup of PLS_WebServerConfig.PROPERTIES file.


3. Stop Tomcat service.


4. Open PLS_WebServerConfig.PROPERTIES file in notepad ++


5. Put 16 digit app password in Smtppassword. Save.


6. Start Tomcat service.



How to create an App Password on Gmail--

Once 2FA is enabled, you can generate an application password:

  • Go to your Google Account.
  • In the left-hand navigation panel, click on Security.
  • Scroll down to the "Signing in to Google" section and click on App passwords.
  • You might be prompted to sign in again to verify your identity.
  • Once you're signed in, you'll see a section called "Select app" and "Select device."
    • Select app: Choose the app you want to generate a password for (e.g., Mail or Other (Custom name)).
    • Select device: Choose the device you're using, or you can select Other and give it a custom name (like "My Laptop").
  • After that, click on Generate. You will get 16 digit password.