Set Up Elliott SMTP Email Settings to Work with Outlook or Office 365

Release Date: 1/19/2018
Revision Date: 12/15/2020
Version: 8.0 & up

For those Elliott users that host Exchange servers in-house, a growing trend is that more and more Elliott user sites are switching to Microsoft Outlook 365 or Office 365.  Throughout this document, when we say Outlook 365, we mean either Outlook 365 or Office 365. The current trend of the IT world is to choose the cloud computing solution with a subscribing model instead of buying the software with perpetual licenses. Microsoft is making a big push to convert their users to their cloud computing solutions. There are many benefits for going with Outlook 365.  This includes, but is not limited to, reduced IT management costs, better security to filter malware and data production, and reduced hardware and software costs.  The hosting cost for Outlook 365 can be actually very cost effective. 

Starting with Elliott V8, we support both SMTP and MAPI interfaces for sending emails.  MAPI is the old email interface method, which we find more and more difficult to support. Also, MAPI does not support many new features in Elliott V8, including sending reports from the report or PDF viewer, and most importantly, MAPI does not support Elliott PDF PostOffice.   Therefore, we recommend that you use the SMTP interface to send emails in Elliott V8.  This document shows you how to set up Elliott SMTP email settings to work with Outlook 365.

Elliott Global SMTP Configuration

For Elliott 8.0-8.2, in the Elliott bin folder (e.g. M:\Elliott7\Bin) , there's an executable called EL800CF.EXE.  When you launch this EXE, the following window appears:

For Elliott 8.5 & up, in the Elliott bin?? folder (e.g. M:\Elliott7\Bin85) , there's an executable called EL850CF.EXE. When you launch this EXE, the following window appears when you choose the "Email" tab:  

  1. First, make sure you choose "SMTP" as your email interface method.
  2. Second, enter your mail server as "smtp.office365.com:587."
  3. Check "Use Authentication."  It is optional to check "Ignore Certificate Error."  You can assume that you will not receive a certificate error when communicating with Microsoft's mail server.  Then choose one of your email account setups in Outlook 365 as the default to authenticate your outgoing emails.
  4. Enter the password of your email account.  There was a bug where the password could not be longer than 10 digits, but that was fixed in April 2017.  If your Elliott version is earlier than that, you should update to the latest version.
  5. Lastly, choose to communicate with SSL so your email content is secured when sending over the Internet to Microsoft's mail server.
  6. The Admin Email is the default "sent from" email name and address if the user name and email address is not set up in Password setup. Since the sent from name and email address cannot be blank, you must set up a default sent from email name and address when that happens.  See sample screen below:
  7. Finally, you should click on the "Test" button to make sure that you can send the email with your settings.
Debugging Email Sending Error
The biggest issue with setting up a common account for all outgoing email is that Outlook 365 may not work. You can find out the details of the email error message by bringing up the the email log file in <ElliottRoot>\Log\<CompanyID>\Emaillog-YYMMDDHHMMSS.CSV.  See sample screen below:



As you can see, the mail system is responding with the following error message:

Mailbox unavailable. The server response was: 5.7.60 SMTP; Client does not have permissions to send as this sender
[SN6PR1501MB2158.namprd15.prod.outlook.com]

This can happen, for example, when user rss@netcellent.com tries to send an email, and the account used for authentication with Microsoft is emk@netcellent.com.  Microsoft Outlook 365 thinks this is a security violation and blocks this email.  So what do we do?  There are typically two solutions to address this:
  1. Set up individual user's SMTP settings.
  2. Configure the Outlook 365 mailbox delegation send as list to include user emk@netcellent.com.
Set Up Individual User's SMTP Settings
You may set up individual user's SMTP settings to override the default SMTP settings in EL800CF.  To do so, you need to bring up Elliott V8 and click on the “Setup” icon on the tool bar in Elliot Control Center. In the setup window, go to the Misc. tab and click on the “Email Settings...” button. See sample screen below:


In the Email Preferences window, choose "SMTP" and click on "Use this server." Then enter the proper account information to match this window login user. See sample screen below:


As you can see, the sent from email address on the top matches the account information on the bottom of this screen.  This will resolve the permission error. Keep in mind that the top email address comes from the Elliott password setup, which is determined by your Elliott login.  The bottom portion is part of your Windows registery, which is determined by your Windows login. To make sure this works, you also need to make sure you login with your own user ID in Elliott in order to match your Windows login. If you login with some other Elliott user ID, while authenticating your that email address matches your Windows login, the STMP email will still fail and send a permission error.

To implement this solution, you will need to instruct (or help) each of your Elliott users to login to their Windows account, and configure Email preferences in Elliott individually.  Make certain the user runs the "Test email" to make sure it works.

Configure Outlook 365 Mailbox Delegation Send As

With the above example that uses emk@netcellent.com as the default authenticated account, you can also go to the Outlook 365 admin area to configure the system so that emk@netcellent.com is allowed to send as any user. This is a workaround/alternate solution. Even though you will have to add emk@netcellent.com to each individual user, the process is no more tedious then the previous solution.

To use this solution, you first need to login as the admin user on the Microsoft Outlook or Office 365 website. You will go to the Admin area.  In the Admin, choose Users.  Click on each user and expand the "Mail Settings" area. Then click on "Edit Exchange Properties."  See sample screen below:


Then in mailbox delegation, add "emk@netcellent.com" to the "Send As" list. See sample screen below:


This means that the system will permit an email sent-from address to appear as "Roger Sueng" (rss@netcellent.com), even though the authenticated user is emk@netcellent.com.

Outlook or Office 365 Email Message Limit

Outlook or Office 365 set limit on the number of emails can be sent to prevent emailing spamming. The common limitation that will affec Elliott's operation is that Outlook or Office 365 current allow 30 email messages per minute per user.  This can be a real problem when you try to send mass email in Elliott, or using PDF PostOffice.  See following article for more detail on the limitation:

To avoid this this type of limitation, you can look at tranasctional email solutions provider like Sendgrid, Mailchimp...etc. for your outgoing SMTP emails.


EMK

Feedback and Knowledge Base