Feature - New Option to Create Email Logs with User ID in File Name

Feature - New Option to Create Email Logs with User ID in File Name

Release date: 01/22/2017

In Elliott V8, if you choose the SMTP interface to send emails, one common complaint from users is that they don't see a list of emails they sent from Elliott in their email outbox. This is because the SMTP interface does not send email through the user's local email client.

To address this issue, Elliott V8 creates email log files to record all email activities sent from Elliott. Normally, email log files follow this pattern:
   <ElliottRoot>\Log\<CompanNo>\EmailLog-YYMMDDHHMMSS.CSV
where <ElliottRoot> is the Elliott root folder like M:\Elliott7, <CompanyNo> is the Company ID like 01, 02...etc. YYMMDDHHMMSS is the date and military time like 180102111023, which means the log file was created on 01/02/2018 11:10:23.  See the following sample:


Generally speaking, the system will create one email log file per month, usually in the beginning of the month.  Sometimes, when two users try to append to the same email log file at the same time, the first user will prevail, and the second user will then have to create a new email log file by using then current date time stamp.  Any future new email activities will be append to this new file until there's a conflict or a new month is reached. So under some situations, it is possible that a user site may have multiple email log files per month. 

In certain high-traffic situations, users may create multiple email log files per day.  In one incident, we saw a user create several hundred email log files per day. This bothered the user. In this incident, the particular user site had multiple users running mass emails at the same time.  The fact that this user site used a hosted email solution (Outlook 365) resulted in longer email processing time due to extra communication time with the cloud, which could have also exacerbated the problem. Recently, the code was changed to help minimize the number of email log files created for this scenario, and that may be enough to reduce the number of email log files created each month.  

This new feature is another option to help prevent generating too many email log files.  Using this feature, one would expect that each Elliott user would have one email log file per month.

This option will make each log file follow this pattern:
     <ElliottRoot>\Log\<CompanNo>\Email-Log-<UserID>-YYMMDDHHMMSS.CSV
where <UserID> is the Elliott UserID and YYMMDDHHMMSS is the date and time. 

To use this option, manually modify <EllliottRoot>\Bin\EL800.CFG to include this option in the [Configuration] section:
   LogEmailByUser=Yes
The following is an example of how the email log files will appear after this change:

Generally speaking, you don't want to turn on this flag because that will create more email log files than necessary in most situations.  It also makes email auditing more difficult. On 1/18/2018, we had also made a change so now system will retry a few times before creating a new email log file.  We believe this retry logic will signficantly descrease the likelyhood of creating multiple email log files per day.  So after you download the latest Elliott update (any version released after 1/18/2018), you should observe and determine if it is necessary to turn on this feature.

Programs modified: EmailService.VB

JEG


    • Related Articles

    • Feature - Order Release Log File

      Release Date - 2/9/16 This new feature will generate an entry in a CSV log file when ever an order is released from hold through COP -> Processing -> Release Held Order. The option must first be enabled through Global Setup -> COP-Ctl -> Credit Check ...
    • EM API - Create and Send an Email

      Release Date: 12/23/20 Version: 7.0 and Higher This is a set of API calls introduced after Elliott 6.X.060. Use them collectively. They will send out emails through the SMTP or MAPI interface. Developers who use these API calls do not need to know ...
    • Feature - Added User ID to User Defined CSV Export

      Release Date - 01/29/18 The User-Defined CSV Export option has been added to I/M-> Reports. Users can now grant/deny access to this application from Password Setup. When running the application from this location in the menu system, the User-ID ...
    • BM1501 Bill of Material Feature/Option Configuration Maintenance

      BM1501 Bill of Material Feature/Option Configuration Maintenance ← Bill of Material / Work Order Plus Feature/Option Configuration File Maintenance Application Overview The Feature/Option Configuration File Maintenance application enables the user to ...
    • Elliott SMTP Email Settings for Outlook 365 or Hosted Email Solutions

      Release Date: 1/19/2018 Revision Date: 9/26/2022 Version: 8.0 & Up Introduction 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 ...