Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Email Notification Not Working
-
Hi
I am evaluating event listener for sending email of Approval Required event. However, I found some error messages and no any notification was sent. I have applied the patch which mentioned on July-28-2016: Email Notification: Approval Required not working. Below is the message for your reference, thanks.
Message:
An error occurred while running event listener (ID 6) for event BLDAPR (8/8/2017 9:50:41 AM): Unable to cast object of type 'Inedo.BuildMaster.Extensibility.EventListeners.HtmlEncodedVariableEvaluationContext' to type 'Inedo.ExecutionEngine.Variables.IVariableEvaluationContext'.Details:
System.InvalidCastException: Unable to cast object of type 'Inedo.BuildMaster.Extensibility.EventListeners.HtmlEncodedVariableEvaluationContext' to type 'Inedo.ExecutionEngine.Variables.IVariableEvaluationContext'.
at Inedo.BuildMaster.Extensibility.Variables.VariableExpressionTree.Evaluate(ILegacyVariableEvaluationContext context)
at Inedo.BuildMaster.Extensibility.EventListeners.EmailEventListenerBase.SendEmailFromTemplate(String subject, IDictionary`2 variableReplacements)
at Inedo.BuildMaster.Extensibility.EventListeners.Approvals.ApprovalReceivedEventListener.EventOccurred(BuildApprovalAddedEvent eventDetails)
at Inedo.BuildMaster.Windows.ServiceApplication.EventListenerExecuter.<ExecuteAsync>d__9.MoveNext()Product: BuildMaster
Version: 5.6.8 -
Thank you for the report - this issue (BM-2370) was fixed in a later version.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login