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 |
...
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
...