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 a 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. Uncomment 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 -> E-mail Notification tab in Server Manager.
- Check the Enable e-mail notification check box. Do not change any other parameters.
- Click the Start button to run TrackStudio.
- Log in.
- Specify your e-mail address in the user settings (the Current User -> User... -> Edit link).
- Use the Current Task -> E-mail-Notification Rules... menu item to create an e-mail notification rule for a user.
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 test it to make sure it works properly.
- Run Server Manager (sman).
- Go to the E-mail -> E-mail Submission tab in Server Manager.
- Check the Enable e-mail submission check box. Do not change any other 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 on to its intended recipient.
- Use the Current Task -> E-mail Import Rules... menu item to configure e-mail submission rules for a task.
- 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.