For JetPatch to be able to send emails (for password recovery, and for email alerts), you need to configure its connection to the organizational SMTP server.
To define an SMTP server:
- Make sure that organizational firewalls allow the necessary traffic (usually TCP port 25 or 587) from the JetPatch Manager Console to the SMTP server.
- Log in as an Administrator.
- Go to Settings > Email, and click Edit Configuration:
- Configure the SMTP settings:
- Enable the configuration. If disabled, JetPatch will not send any emails of any kind.
- SMTP Host: DNSname of SMTP server
- Domain Name: Enter the domain name from which to send emails.
- SMTP Port: Usually 25 or 587.
- Username: Enter the service account from which you want to send an email
- Password: Enter the password of the service account
- If necessary, you can Reset the window fields to start again.
- Click Save.
- To check Emails can be sent Click on E-mail Alerts
- Enter the email ID and click on send a test e-mail and check your inbox
If the connection is failing, ssh into the JetPatch server and try to telnet to the SMTP server. Example with port 587
telnet smtp.jetpatch.com 587
If the connection succeeds, a blank screen will show up, meaning that the port is open.
A failed connection will be accompanied by an error message. It can indicate either a closed port or the fact that the indicated remote server is not listening on the provided port.