To use e-mail notification and e-mail submission, TrackStudio needs an SMTP/POP3 server. You can use any SMTP/POP3 server, but TrackStudio SA already includes preconfigured Java E-Mail Server (JES) to make it easier to configure the program.
To use JES for e-mail notification:
- Open the file jes/etc/mail.conf in a text editor. Un comment the defaultsmtpservers parameter and specify the address of your organization's SMTP server as its value.
- Run Java E-Mail Server (jes/jes).
- Run Server Manager (sman).
- Go to the E-Mail Notification tab in Server Manager.
- Check the Enable e-mail notification check box. Do not change the rest of the parameters.
- Click the Start button to run TrackStudio.
- Log in.
- Specify your e-mail address in the user settings (the User -> Edit tab).
- Enable e-mail notification for a filter.
How it works
- A user modifies a task or creates a message.
- If the task meets the filtering conditions of the e-mail notification rule, TrackStudio generates an e-mail message and sends it to JES.
- JES redirects it to the server specified in the defaultsmtpservers parameter defined in the mail.conf file.
- The mail server redirects the message to the user’s e-mail address.
- The user receives the message using his e-mail client.
To use JES for e-mail submission:
- Configure JES for e-mail notification as above and make sure it works.
- Run Server Manager (sman).
- Go to the E-Mail Submission tab in Server Manager.
- Check the Enable e-mail submission check box. Do not change the rest of the parameters.
- Click the Start button to run TrackStudio.
- Change the SMTP server host in the e-mail client: host = <JES IP>, port 25. Now JES will process all your outgoing e-mail first and, if it has nothing to do with e-mail submission, it will be sent further.
- Configure e-mail submission rules for some task (the Task->E-Mail import tab).
- Send a message to trackstudio@127.0.0.1
How it works
- The user sends a message to trackstudio@127.0.0.1
- JES determines that the recipient’s address belongs to the local domain and sends it to the POP3 account of TrackStudio.
- Once TrackStudio detects a message in its mailbox, it processes it and creates a task or a message.