HandleGraphMail.SendFormattedEmail

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

var handleGraphMail = Activate<HandleGraphMail>();
await handleGraphMail.SendFormattedEmail("8cf1b8a1-0f91-4d3d-bb57-232219df05ed", 2, 22);

Parameters

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

Status

12-2-2024 08:10:56 (+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:9776
Worker:
1668effd

+6m 15.157s 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-2-2024 08:10:42

+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:9776
Worker:
535ba96a

+1m 45.033s 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-2-2024 08:04:36

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

+17ms Processing

Server:
dawesta-vps:9776
Worker:
2d4f494f

+45.030s 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-2-2024 08:02:54

+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:9776
Worker:
dbd3bc22

+30.030s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
12-2-2024 08:01:57

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

+13ms Processing

Server:
dawesta-vps:9776
Worker:
fdb064c8

+45.047s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
12-2-2024 08:01:29

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

+10.216s Processing

Server:
dawesta-vps:9776
Worker:
f809a6c5

+ <1ms Enqueued

Queue:
default

12-2-2024 08:00:45 Created