HandleGraphMail.SendFormattedEmail

// Taak Id: #513
using TrainingsDesk.HangFire.Jobs;

var handleGraphMail = Activate<HandleGraphMail>();
await handleGraphMail.SendFormattedEmail("7e52c4c0-9f14-4bf0-985e-d276360141b7", 2, 32);

Parameters

CurrentCulture
"nl-NL"
CurrentUICulture
"nl-NL"
RetryCount
5

Status

12-3-2024 12:37:35 (+34ms) Failed

An exception occurred during performance of the job.

System.Exception

No valid Admin UserId was found while sending the request

System.Exception: No valid Admin UserId was found while sending the request
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendEmail>d__0.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202309_Versie_2000\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 100
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendFormattedEmail>d__1.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202309_Versie_2000\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+ <1ms Processing

Server:
dawesta-vps:10176
Worker:
aa46d916

+5m 15.126s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 5 of 5: No valid Admin UserId was found while sending the…

Enqueue at:
12-3-2024 12:37:31

+47ms Failed

An exception occurred during performance of the job.

System.Exception

No valid Admin UserId was found while sending the request

System.Exception: No valid Admin UserId was found while sending the request
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendEmail>d__0.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202309_Versie_2000\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 100
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendFormattedEmail>d__1.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202309_Versie_2000\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+ <1ms Processing

Server:
dawesta-vps:10176
Worker:
aa46d916

+3m 30.157s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 4 of 5: No valid Admin UserId was found while sending the…

Enqueue at:
12-3-2024 12:32:14

+13ms Failed

An exception occurred during performance of the job.

System.Exception

No valid Admin UserId was found while sending the request

System.Exception: No valid Admin UserId was found while sending the request
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendEmail>d__0.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202309_Versie_2000\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 100
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendFormattedEmail>d__1.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202309_Versie_2000\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+17ms Processing

Server:
dawesta-vps:10176
Worker:
235093bd

+1m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

Retry attempt 3 of 5: No valid Admin UserId was found while sending the…

Enqueue at:
12-3-2024 12:28:39

+16ms Failed

An exception occurred during performance of the job.

System.Exception

No valid Admin UserId was found while sending the request

System.Exception: No valid Admin UserId was found while sending the request
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendEmail>d__0.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202309_Versie_2000\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 100
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendFormattedEmail>d__1.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202309_Versie_2000\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+14ms Processing

Server:
dawesta-vps:10176
Worker:
edc4930c

+44.986s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+17ms Scheduled

Retry attempt 2 of 5: No valid Admin UserId was found while sending the…

Enqueue at:
12-3-2024 12:27:41

+30ms Failed

An exception occurred during performance of the job.

System.Exception

No valid Admin UserId was found while sending the request

System.Exception: No valid Admin UserId was found while sending the request
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendEmail>d__0.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202309_Versie_2000\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 100
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendFormattedEmail>d__1.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202309_Versie_2000\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+ <1ms Processing

Server:
dawesta-vps:10176
Worker:
7b77a466

+40.140s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+17ms Scheduled

Retry attempt 1 of 5: No valid Admin UserId was found while sending the…

Enqueue at:
12-3-2024 12:26:59

+4.716s Failed

An exception occurred during performance of the job.

System.Exception

No valid Admin UserId was found while sending the request

System.Exception: No valid Admin UserId was found while sending the request
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendEmail>d__0.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202309_Versie_2000\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 100
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at TrainingsDesk.HangFire.Jobs.HandleGraphMail.<SendFormattedEmail>d__1.MoveNext() in C:\Users\jan.tamis\source\Dawesta\TrainingsDesk\202309_Versie_2000\TrainingsDesk.HangFire\Jobs\HandleGraphMail.cs:line 215
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+11.190s Processing

Server:
dawesta-vps:10176
Worker:
aa46d916

+ <1ms Enqueued

Queue:
default

12-3-2024 12:26:09 Created