Company: Link Technologies
Case No: L13071. Project: 15.50: LinkSOFT Version 15.50
Logged By: Sanjay (Link Technologies) on 14 Sep 2024 02:03PM
Priority: Low
Product: Framework
Group: Enhancement
Time Taken: 27.00 (Weight: 28.00)
Assigned To: Sanjay (Link Technologies)
Circulation: Sanjay, Sitla, Vineshwar Prasad
Resolve By: Friday, 20 September 2024 02:11 PM [68 days since logged date]
Status: Closed
Subject: Add Email Configuration to Company Level settings so users can use different Email settings for each company
Summary:    

Email settings are configured on the Web Configuration file shown at this link.

When running multiple company environment, we want to be able to set company level SMTP settings so company administrators can apply companly level email throttling (and other settings) at the mail server level.

Audit Notes:
14 Sep 202402:11PM Comment 1 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 20-09-2024 02:03 PM Time Taken: 18.00
PART A - Development work for this case has been completed.

1. The change will be available in version: 15.50

2. The following changes were made (Include Database object names, Program classes, and any other relevant information):

  1. Added the following settings at a company level. See figure 1 below.
  2. Removed configuration named "Mail_From_Address" as we need to use "EMail.SmtpUsername". When these two dont match, mail ends up in spam.
  3. If the setting "EMail.SmtpHost" is left blank, the mail settings wil be picked up from the "web.config" file (see documentation)

3. Affected Areas:

  1. Email Notifications
  2. Email Reports

4. The issue was caused by:

  1. Enhancement

5. Other Relevant Notes
6. Next Step
(Review and System Test (Developer) -> UAT (Quality) -> Documentation): UAT


Figure 1 - New Mail settings by company

Rule Code

Rule Description

Value

EMail.SmtpHost

Email SMTP. Host used to send emails. E.g. "smtp.gmail.com" or "smtp.office365.com". If left blank, Mail Settings in the "web.config" file will be used to send emails.

smtp.gmail.com

EMail.SmtpPort

Email SMTP. Port used to send emails. E.g. 587

587

EMail.SmtpUsername

Email SMTP. Username used for authentication. E.g. "NoReply@LinkTechnologies.com"

NoReply.LinkTechnologies@gmail.com

EMail.SmtpPassword

Email SMTP. Password or application token used by your mail host for authentication

xxxxxxxxxxxxx

EMail.SmtpEnableSsl

Email SMTP. Enable Ssl. Set to "Y" if you EMail Host requires SSL

Y

EMail.SmtpDefaultCredentials

Email SMTP. Use Default Credentials. Set to "No" if you are specifying Username and Password. Set to "Yes" if the current user credentials will be used as EMail Credentials

N

EMail.SmtpDisplayName

Email SMTP. Email Display Name to use whne emails are sent out

NoReply. Link Technologies - Demo

 


14 Sep 202402:14PM Comment 2 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 20-09-2024 02:11 PM Time Taken: 9.00 Notes: ETC extended from: 14/09/2024 to 20/09/2024
The following tests were performed:

Test Setup Instructions:
  1. Standard Demo Environment
Table 1 - Test Results
NoTest CaseExpected ResultPass/FailComments
1Remove Web Configuration Mail Settings. Set DB configuration for mail. Send mail in from each company
Mail should be delivered using the company level mail configuration
Pass

2Remove DB Mail configuration and set WEB.CONFIG mail configuration
Mail should be delivered using the WEB.CONFIG mail configuration
Pass

3Set both WEB.CONFIG and DB MAIL Configuration
Mail should be delivered using the company level mail configuration
Pass

Environment Details

  1. OS version: Win11
  2. Application version: 15.50
  3. Setup on:
    1. Server: LinkQA5
    2. Database: LinkSOFT
    3. LinkSOFT URL: HTTP://LinkQA5/LinkSOFT
  4. Login Details: Standard username and password for user "admin"

Next Step: Closure


If you have any queries regarding this support incident, please email admin@linktechnologies.com.au and include the Case No: L13071 in the subject line of all emails regarding this issue.

Document size: 17.1 KB
For call complaints, please contact the Managing Director of the company using this form