Kentico MVC Forms - send email

Pete Hubbel asked on December 6, 2019 18:10

In using-forms-in-kentico-12-mvc-without-the-page-builder-22e42ba4ab04 a code snippet uses an IFormProvider.SendEmails(....) method. However, I cannot find that in the Kentico libraries. Has anyone else found/used this?

Follow on: Has anyone been able to instantiate a FormProvider? The constructor requires an IFormComponentActivator, but FormComponentActivator is marked internal, so cannot be instantiated by Unity DI framework.

Recent Answers


Pete Hubbel answered on December 6, 2019 18:33

Found it in Kentico.Forms.Web.Mvc namespace.

0 votesVote for this answer Mark as a Correct answer

Peter Mogilnitski answered on December 6, 2019 18:44

Check the Documentation

1 votesVote for this answer Mark as a Correct answer

Pete Hubbel answered on December 9, 2019 22:10

Peter, Thank you.

However, our dependency injection framework (Unity) cannot instantiate an IFormProvider because it requires an IFormComponentActivator and FormComponentActivator is marked internal.

Is there another way to construct IFormProvider?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.