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

Release Date: 1/19/2018

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

In the Elliott bin folder, there's an executable called EL800CF.EXE.  When you launch this EXE, the following window appears:
  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 potential 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

Elliott Version 8

  1. Elliott 8 Directory Structure and NTFS Rights
  2. Instructions to Install Elliott V8 on Top of Elliott V7
  3. I Am Not Able to Archive V7 Reports in V8 Spooled Reports Manager
  4. Can't Start Because Api-ms-win-crt-runtime-1-1-0.dll Is Missing After Upgrade to Elliott 8.1
  5. Receive Procedure Entry Point InitializeCriticalSectionEx Could Not Be Located After Upgrading to Elliott 8.1
  6. How to Add Items to The "Most Used" Folder in Elliott 8.0
  7. Elliott Report Viewer Has Stopped Working
  8. Outlook Email Address Book Is Not Supported in Elliott V8
  9. Support Function Keys through Scanning Barcode
  10. How to Run Elliott V8 on Tablets or Mobile Devices
  11. How Do I Configure Elliott V8 Email (SMTP) Settings?
  12. Report Viewer Generates "System Out Of Memory Exception" Error
  13. Startup Elliott V8 and Receive Message: In NWSMDDFM, Unable to Open DDF Files
  14. Problems with Tilde ~ Character in Elliott V8
  15. Receive "Unable to validate install dir. Exception: Not found" During Elliott V8 Installation
  16. How to Delete or Customize User Folder in Elliott 8 Control Center
  17. Elliott V8.0 Report Viewer Received "Specified File Does Not Exist" Message
  18. Deferred Process in V8 Runs Right Away
  19. SMTP Email Log in Elliott V8
  20. EL800CC Elliott V8 Control Center
  21. EL800CF Configuring Elliott V8.0
  22. EL800RV Elliott V8 Report Viewer
  23. NOTEUPDT Elliott V8.0 Continuous Notes Enhancement for V8.0
  24. Sales Desk Shows Blank GUI Order Inquiry Screen for One User
  25. V8Notes Continuous Notes Enhancement for V8.0
  26. In Elliott 7 We Are Able to Change Note Type; However It Is Grayed Out in Elliott 8
  27. How to Access Archived Reports
  28. Continuous Notes Enhancement for V8.0
  29. Configuring Elliott V8.0
  30. Elliott V8.2 Release Notes: Introduction and Requirements
  31. Introduction to Elliott V8.0: Section 1
  32. Introduction to Elliott V8.0: Section 2
  33. Introduction to Elliott V8.0: Section 3
  34. Introduction to Elliott V8.0: Section 4
  35. Introduction to Elliott V8.0: Section 5
  36. Introduction to Elliott V8.0: Index
  37. Spooled Reports Manager Error Due to Incomplete Windows Update
  38. Set Up Elliott SMTP Email Settings to Work with Outlook or Office 365
  39. Feature - New Option to Create Email Logs with User ID in File Name
  40. Feature - Prompt Before Sending Event Email in V8
  41. Does Elliott V8.x Support Additional Fonts To Be Added?
  42. How to Set Up SRFAX with PDF PostOffice

Feedback and Knowledge Base