HandleGraphMail.SendFormattedEmail

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

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

Parameters

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

Status

17-1-2024 09:32:13 (+154ms) 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()

+33ms Processing

Server:
dawesta-vps:17056
Worker:
9134179b

+5m 127ms Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
17-1-2024 09:32:09

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

+30ms Processing

Server:
dawesta-vps:17056
Worker:
f0f6db75

+1m 45.190s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
17-1-2024 09:27:04

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

+16ms Processing

Server:
dawesta-vps:17056
Worker:
5a3926a0

+1m 15.047s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+17ms Scheduled

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

Enqueue at:
17-1-2024 09:25:25

+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:17056
Worker:
bb36e0e6

+1m 15.016s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
17-1-2024 09:24:09

+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:17056
Worker:
9d59650f

+55.674s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
17-1-2024 09:22:45

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

+7.186s Processing

Server:
dawesta-vps:17056
Worker:
9d59650f

+ <1ms Enqueued

Queue:
default

17-1-2024 09:21:50 Created