Setting Up Email Approvals
The details below outline the settings necessary for TeamConnect Admins to enable this feature.
Important: Email approvals may not function as some versions of Outlook include line breaks on any line with more than 76 characters. Users with Outlook 2010, 2013 and later versions will need to make the following adjustments to their Outlook configuration for email approvals to function:
- Click on the File tab and select Options.
- Click on “Advanced” in the left column of the Options window.
- Scroll down to the “International Options” section.
- Change “Preferred encoding for outgoing messages” to “Unicode (UTF-8)”.
- Click “OK” at the bottom of the Options window.
- Restart Outlook.
Admin Settings to Enable Email Approvals
Click the Admin tab --> Admin Settings and select Email from the left side navigation pane.
Outgoing Mail Server Settings
- Outgoing Mail Server (SMTP): Your company's mail server, ex. 10.50.5.9
- Reply-to Address: The email address listed here will be the "from" address users see when receiving email notifications. For example, if it's set to John.Doe@gmail.com and Betty receives an approve/reject email, it will appear as if it was sent from John.Doe@gmail.com.
You'll need to make sure that mailto: links are enabled for the mail server and that the approve/reject emails are formatted correctly. The "Use SSL" and "Outgoing Server Requires Authentication" options are not required for email approvals to function.
Note: This has only been tested on Gmail, Outlook and hMail. Do not use Hotmail or Yahoo Mail.
Incoming Mail Server Settings
This block signals TeamConnect where to acquire and read the responses to approve/reject emails.
- Account Type: IMAP (Internet Message Access Protocol) This allows email clients to access email on a remote mail server, which is ideal for cases where the mailbox is managed by multiple users.
- Incoming Mail Server: The incoming mail server is the server associated with your email address you'll use to read the emails from. You'll enter "imap.(insert your mail server here).com".
For example, Gmail accounts will say "imap.gmail.com". - Username: This is the email account from which the email approve/reject email responses will be read. An example address format could be "Jane.Doe@gmail.com". TeamConnect reads the emails sent to this account about once a minute, so it is important to not manually open any emails at this account. For this reason, it is suggested to enter an account that is not used. If this email is used for other purposes than email approvals, make sure to not open the approval responses. After TeamConnect processes the email approval responses, they will appear as "read" messages.
IMPORTANT: Do not use Hotmail or Yahoo! mail. You'll need to make sure that mailto: links are enabled for the mail server and that the approve/reject emails are formatted correctly. This has only been tested on Gmail, Outlook and Hmail.
- Password: This needs to be the actual password for the email account used in the above username field. If it's not correct TeamConnect will be unable to log-in remotely to the IMAP email account, i.e. cannot read the approval response emails.
- The checkbox next to 'Use SSL/TLS' must be checked.
Additional Settings Needed Outside of TeamConnect
- The Incoming Mail Server needs to have IMAP enabled. If you go into the settings within the email account you want to use for the incoming mail server, they should have a button/option/tab/etc that will allow you to enable IMAP. For example, Gmail users can:
- Sign in to Gmail.
- Click the gear in the top right .
- Select Settings.
- Click Forwarding and POP/IMAP.
- Select Enable IMAP.
- Click Save Changes.
- Two ports need to be opened on your computer - the port numbers needed are dependent on the mail servers you use for outgoing and incoming. This can be found by a simple google search of your mail server and IMAP settings. For Mitratech employees, it's port 25 (outgoing) and port 993 (incoming gmail).
- Make sure that at the very bottom of the Admin Settings > Email 'Status:" you have selected Start.
- Stop and restart the app server after making all changes.
Troubleshooting Scenarios
1. Outgoing Emails Not Sending
Check SMTP settings under Admin > Email for the correct mail server and reply-to address. Ensure mailto links are enabled, and use supported servers like Gmail or Outlook.
2. Approve/Reject Emails Not Processed
Enable IMAP on the incoming mail server (e.g., Gmail settings > Forwarding and POP/IMAP). Verify correct username, password, and SSL/TLS settings, and ensure required ports are open.
3. Unsupported Mail Servers
Avoid using unsupported servers like Hotmail or Yahoo. Stick to Gmail, Outlook, or hMail, and confirm email formatting is correct.
4. Application Restart Required
After making changes to email settings, restart the app server to apply updates effectively.
5. Dedicated Email Account Issues
Use a dedicated email account for TeamConnect and avoid manually opening emails to prevent processing errors.