Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

291404

Trigger Send verification code: Add External user

Trigger Send Report Status Update Email: Start new report or Finish existing report

MailKit

https://github.com/jstedfast/MailKit#using-mailkit

29755

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_boards/board/t/DSD-RAIL-LEIS%20Team/Backlog%20items/?workitem=29755

...

Code Block
123TrainLongName - Annual Report 2024 -  Ultra-low sulphur diesel (ULSD)	123456
123TrainLongName - Annual Report 2023: (orgId=176, reportId=215)
Freight	Natural Gas	13
Freight	Low-sulphur diesel (LSD)	12
Commuter	Low-sulphur diesel (LSD)	11

MarkCompany - Annual Report 2023: (orgId=136, reportId=207)
Freight  Natural Gas 14L 
Passenger Ultra-low sulphur diesel (ULSD) 12L 
Commuter Low-sulphur diesel (LSD) 13L

242783 NLB Link redirect to the wrong page-Jul19

Org

Year

Kind

Rec

Cert

CN

2022

Year-Prepopulated-Required

2268

CN

2021

Year-Preview-Completed

2401

CPR

2022

N/A

CPR

2021

Year-Preview-Completed

1412

CMQ

2022

Year-Preview-Completed

38

CN+CPR

2021

Company Reports

2401+1409 = 3810

CN-ULSD=1504972000

CPR-ULSD=886600074

CPR-ULSD=72584

29761

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_boards/board/t/DSD-RAIL-LEIS%20Team/Backlog%20items/?workitem=29761

...

/wiki/spaces/MAR/pages/268238916

Libraries and Installs - Security Applications and Digital Identity (Solutions Centre) - Confluence (atlassian.net)

(warning) Create External User: Using external email in dev env

Code Block
{"5.7.54 SMTP; Unable to relay recipient in non-accepted domain"}

-		ex	{"5.7.54 SMTP; Unable to relay recipient in non-accepted domain"}	System.Exception {MailKit.Net.Smtp.SmtpCommandException}
+		Data	{System.Collections.ListDictionaryInternal}	System.Collections.IDictionary {System.Collections.ListDictionaryInternal}
		ErrorCode	RecipientNotAccepted	MailKit.Net.Smtp.SmtpErrorCode
		HResult	-2146233088	int
		HelpLink	"https://github.com/jstedfast/MailKit/blob/master/FAQ.md#ProtocolLog"	string
+		InnerException	null	System.Exception
+		Mailbox	{"tsizism@gmail.com" <tsizism@gmail.com>}	MimeKit.MailboxAddress
		Message	"5.7.54 SMTP; Unable to relay recipient in non-accepted domain"	string
		Source	"MailKit"	string
		StackTrace	"   at MailKit.Net.Smtp.SmtpClient.Send(FormatOptions options, MimeMessage message, MailboxAddress sender, IList`1 recipients, CancellationToken cancellationToken, ITransferProgress progress)\r\n   at MailKit.Net.Smtp.SmtpClient.Send(FormatOptions options, MimeMessage message, CancellationToken cancellationToken, ITransferProgress progress)\r\n   at MailKit.MailTransport.Send(MimeMessage message, CancellationToken cancellationToken, ITransferProgress progress)\r\n   at LEIS.Security.Web.Providers.VerificationMailer.SendVerificationEmailViaViaMailKit(String email) in C:\\github\\DSD-RAIL-LEIS\\315887\\DSD-RAIL-LEIS\\Development\\LEIS.Security.Web\\Providers\\VerificationMailer.cs:line 41"	string
		StatusCode	MailboxUnavailable	MailKit.Net.Smtp.SmtpStatusCode
+		TargetSite	{System.String Send(MimeKit.FormatOptions, MimeKit.MimeMessage, MimeKit.MailboxAddress, System.Collections.Generic.IList`1[MimeKit.MailboxAddress], System.Threading.CancellationToken, MailKit.ITransferProgress)}	System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo}

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_git/DSD-RAIL-LEIS/pullrequest/31347

App

Reference

TCMailer.ini

Service Reference

Usage

Deployment

LEIS.Business

.\LEIS.Business\

Support\TC Mailer 3.0.dll

.\LEIS.Business\

Support\TCMailer.ini

N/A

N/A

Internal Business:

\\ncrws548\TPwwwroot\eigdev\leis.Business.Server.Installer\Release

LEIS.Business.Web

.\LEIS.Security\

Support\TC Mailer 3.0.dll

N/A

\LEIS.Business.Web\Service References\TCMailerWS\

.\LEIS.Business.Web\Providers\

ReportStatusProvider.cs::

SendReportStatusNotification(…)

.\LEIS.Business.Web\Providers\ReportStatusProvider.cs::

TCMailer.SmtpClient client = new TCMailer.SmtpClient();

client.Send();

\\ncrws548\TPwwwroot\eigdev\leis-siel\bin\TC Mailer 3.0.dll

LEIS.Security

.\LEIS.Security\Support\TC Mailer 3.0.dll

.\LEIS.Security\Support\TCMailer.ini

.\LEIS.Security\Service References\TCMailerWS\

(called from LEIS.Security.Web)

.\LEIS.Security\Messaging\VerificationMailer.cs::

SendVerificationEmail(…)

TCMailer.SmtpClient client = new TCMailer.SmtpClient();

client.Send();

Internal Security:

\\ncrws548\TPwwwroot\eigdev\LEIS.Security.Server.Installer\Release\LEIS.Security.Server.Internal.Installer.msi

Bin folder content : TBD

LEIS.Security.Web

\LEIS.Business\Support\TC Mailer 3.0.dll

N/A

N/A

.\LEIS.Security.Web\Controllers\ProfileController.cs::

viewModel.EmailVerificationCode = _securityProvider.SendEmailVerificationCode(viewModel.User.Email);

.\LEIS.Security.Web\Controllers\UsersController.cs::

viewModel.EmailVerificationCode = _securityProvider.SendEmailVerificationCode(viewModel.User.Email);

.\LEIS.Security\Messaging\VerificationMailer.cs::

TCMailer.SmtpClient client = new TCMailer.SmtpClient();

client.Send();

\\ncrws548\TPwwwroot\eigdev\leisa-asiel\bin\TC Mailer 3.0.dll

248536

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_boards/board/t/DSD-RAIL-LEIS%20Team/Backlog%20items/?workitem=248536

...