Company: Link Technologies
Case No: L13114. Project: 15.60: LinkSOFT Version 15.60
Logged By: Vineet (Link Business Solutions) on 17 Feb 2025 04:39PM
Priority: Low
Product: Framework
Group: Software Defect
Time Taken: 12.00 (Weight: 4.00)
Assigned To: Development
Circulation: Development, Sanjay, Vineet
Resolve By: Friday, 21 February 2025 11:26 AM [4 days since logged date]
Status: Review
Subject: Unable to send Payslip and other HR Alerts
Summary:    

When sending pay slips from the system, the message below is noted in the Logs.

The parameter 'address' cannot be an empty string. Parameter name: address. Email to: vineet@linktechnologies.com.fj Subject: LinkSOFT (Server: PAYROLL Database: LINKSOFT): Pay slip. Reference: 1001-5222-10499.

This is happening at 2 of our client sites recently upgraded from version 15.30 to 15.51. 

We have set up a client environment for review:

LINKQA5
CLIENT-GFI-LinkSOFT
URL: http://10.0.0.17/CLIENT-GFI-LinkSOFT/
Username/Pw: admin/admin
Hosted on QA7: D:\Websites\CLIENT-GFI-LinkSOFT

Audit Notes:Edited by sanjay on 18/02/25 15:19. Edited by sanjay on 18/02/25 15:12. Edited by sanjay on 18/02/25 11:46. Edited by sanjay on 18/02/25 11:45. Edited by sanjay on 18/02/25 11:26. Edited by sanjay on 18/02/25 10:52. 
18 Feb 202511:43AM Comment 1 by Sanjay (Link Technologies) Assigned To: Vineet (Link Business Solutions) Followup Date: 21-02-2025 11:26 AM Time Taken: 4.00 Notes: ETC extended from: 17/02/2025 to 21/02/2025
Hi Vineet,

I had a look at the setup, and here are my findings:
  1. Incorrect SMTP value in Web config for "enableSsl". This should be set to "true". Google will not authorize unless this is "true". See figure 1 below.
  2. Once this is corrected, the error message is "Authentication Failed". This is caused by an invalid GMAIL username and password. Remember to use an application password.
  3. I tested the email with our DEMO GMAIL settings in the WEB Config, and the email went through. See figure 2.
Note:
  1. The company-level configuration in the menu "Company Administration -> Configuration" is only used if you place a value in the configuration for "SMTP HOST". If this value is blank (which it is in your case), the system will use the WEB Configuration for all emails.
  2. I have changed the case from "Defect" to "Support" and lowered the priority.
  3. There were 30,000 unsent emails. I removed this from our setup as it was taking a long time to load. The data is sitting in a temporary backup table named "LT_SYS_MSG_Notifications_20250218"
  4. Youe DB is not in "Test Mode" please change to TEST modeas all these emails will be sent as soon as it is successful.  I have changed this for you.

Figure 1 - Incorrect SMTP value for "enable

Figure 2 - Email received when the WEB.CONFIG configuration is corrected.

Let me know if you need further assistance.

Thx. Sanjay


18 Feb 202503:11PM Comment 2 by Sanjay (Link Technologies) Case L13114 added to project 15.60
18 Feb 202503:16PM Comment 3 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 21-02-2025 03:12 PM Time Taken: 4.00 Notes: Edited by sanjay on 18/02/25 15:21. 

Teams meeting with Vineet

Meeting Notes:

  1. If we do not set any configuration on menu "Company Administration ~> Configuration" for SMTP settings, the system is supposed to use the "WEB.CONFIG" mail settings
  2. Using 1. above, REPORT EMAILS are failing with the message "The parameter 'address' cannot be an empty string", however, when we set the SMTP values in menu "Company Administration ~> Configuration", the REPORT EMAILS are sent successfully.

We were able to reproduce this issue for REPORT EMAILS, however, other emails were working as expected.

The workaround is to set the value for menu "Company Administration ~> Configuration" for SMTP settings for Username to a valid Email address.



18 Feb 202503:19PM Comment 4 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 21-02-2025 03:16 PM Time Taken: 4.00
PART A - Development work for this case has been completed.

1. The change will be available in version: 15.60

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

  1. Corrected the issue where the FROM address is extracted from menu "Company Administration ~> Configuration", even when we choose to use the "WEB.CONFIG" for emails

3. Affected Areas:

  1. Report Emails sending function

4. The issue was caused by:

  1. Logic used to determine which Email setting to use was incorrect

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


18 Feb 202503:20PM Comment 5 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 20-02-2025 05:19 PM
Changed status to Software Defect.

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

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