HandleGraphMail.SendFormattedEmail

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

var handleGraphMail = Activate<HandleGraphMail>();
await handleGraphMail.SendFormattedEmail("bc667371-2f3d-494f-8b6f-3e8950fdd016", 2, 32);

Parameters

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

Status

15-2-2024 09:02:43 (+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:16900
Worker:
fe1fdd38

+4m 45.156s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
15-2-2024 09:02:34

+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:16900
Worker:
5af0c14d

+3m 15.093s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
15-2-2024 08:57:54

+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:16900
Worker:
af2418e4

+2m 33ms Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
15-2-2024 08:54:31

+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:16900
Worker:
af2418e4

+29.970s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
15-2-2024 08:52:34

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

+13ms Processing

Server:
dawesta-vps:16900
Worker:
af2418e4

+45.080s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
15-2-2024 08:52:07

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

+12.953s Processing

Server:
dawesta-vps:16900
Worker:
fae6a5d8

+ <1ms Enqueued

Queue:
default

15-2-2024 08:51:14 Created