Company: Link Technologies
Case No: L10245. Project: 10.10: LinkSOFT Version 10.1
Logged By: Sanjay (Link Technologies) on 11 Mar 2019 08:21AM
Priority: Medium
Product: Framework
Group: Software Defect
Time Taken: 7.00 (Weight: 7.00)
Version: 10.155.0117
Assigned To: Sanjay (Link Technologies)
Circulation: Rashna, Sanjay
Resolve By: Monday, 11 March 2019 12:00 AM [1865 days since logged date]
Status: Closed
Subject: Email Scheduler does not send emails if one email is invalid in the EMAIL Addresses list
Summary:    

We get this error message in the Error Log when Email Addresses are invalid, e.g. An email address of Rashna@Link.com;Sanjay@@LinkTech.com will cause the report to fail even though one address (out of the two) is valid.

Error Message:
The parameter 'addresses' cannot be an empty string. Parameter name: addresses at System.Net.Mail.MailAddressCollection.Add(String addresses) at LT.CORE.BLL.EmailManagerBLL.EmailPDFReport(ReporterEntity rpt, ReportParameterValuesEntity rpv) in C:\Source\LinkTechnologiesCore - 2.0\BLL\EmailManagerBLL.cs:line 153 {"ReportScheduleID":null,"ReportEmailID":"B498E64E-B05C-4086-ACC7-AA1493249F8D","DateFrom":"2019-03-07T00:00:00","DateTo":"0001-01-01T00:00:00","UserName":"sanjeet","UserID":null,"CompanyID":null,"EmailValues":{"ID":null,"EmailFrom":null,"EmailSubject":"Debtors Balance As At","EmailBody":"

Audit Notes:
11 Mar 201908:21AM Comment 1 by Sanjay (Link Technologies) Case 10245 added to project 10.1
11 Mar 201908:22AM Comment 2 by Sanjay (Link Technologies) Assigned To: Rashna (Edge Business Solutions) Followup Date: 11-03-2019 08:22 AM Time Taken: 5.00 Notes: Edited by sanjay on 11/03/19 08:34. 

Development work for this case has been completed.

The change will be available in version: 10.142

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

  1. Changed the email address "Send To" list to validate addresses. We add the email address that is well-formed. We do not validate if the mailbox exists.

2. The issue was caused by:

  1. Invalid address in the EMAIL LIST caused the email to fail

3. Next Step:

  1. UAT

11 Mar 201910:39AM Comment 3 by Rashna (Edge Business Solutions) Assigned To: Sanjay (Link Technologies) Followup Date: 11-03-2019 10:39 AM Time Taken: 2.00
Hi Sanjay
QA Results
Tests carried out according to requirements specified on the case header

Test Results Summary

Table 1 - Summarised list of issues
NoTest DescriptionPass/Fail
1Schedule a report with "Email To" address as "rashna@@linktechnologies.com.au". This email should not be sent and the log should be updated to state that address is invalidPass
2Schedule a report with "Email To" address as "rashna@@linktechnologies.com.au;linktechnologiesdemo@gmail". This email should be sent to the "linktechnologiesdemo@gmail" address
Pass

Environment Details

  1. OS version: Windows Server 2012
  2. Application version: 11.0.308
  3. Setup: Demo
  4. Server : 10.0.0.14
  5. Database: RASHNA-LINKSOFT-DEMO-10

Steps to reproduce failed scenarios: N/A

Next Step: for closure


    11 Mar 201911:39AM Comment 4 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 11-03-2019 11:39 AM
    thanks Rashna

    09 Oct 201908:14AM Comment 5 by Sanjay (Link Technologies) Quality control status: Pass. QC Not required - This case was created before quality check was implemented in version 11 on 30/06/2019
    If you have any queries regarding this support incident, please email admin@linktechnologies.com.au and include the Case No: L10245 in the subject line of all emails regarding this issue.

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