HandleGraphMail.SendFormattedEmail

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

var handleGraphMail = Activate<HandleGraphMail>();
await handleGraphMail.SendFormattedEmail("46d22f98-7644-4eb1-92d2-8fd1a0d91321", 4, 11);

Parameters

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

Status

16-1-2024 13:01:20 (+33ms) 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:1260
Worker:
fb297666

+6m 15.220s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
16-1-2024 13:01:11

+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:1260
Worker:
17db1ae7

+3m 80ms Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
16-1-2024 12:55:01

+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:1260
Worker:
b35b28b8

+1m 30.017s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
16-1-2024 12:51:50

+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()

+ <1ms Processing

Server:
dawesta-vps:1260
Worker:
b35b28b8

+44.967s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
16-1-2024 12:50:21

+33ms 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:1260
Worker:
17db1ae7

+45s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
16-1-2024 12:49:37

+14ms 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()

+13.310s Processing

Server:
dawesta-vps:1260
Worker:
17db1ae7

+56ms Enqueued

Queue:
default

16-1-2024 12:48:51 Created