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
...
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 |
...
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 |
...
https://github.com/jstedfast/MailKit#using-mailkit
29761
...
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
...