RadarBug
RadarBug

Reputation: 807

BizForm Email Notification

I'm using Kentico 8.1 and for some reason when I add a form record using BizFormItem.Insert() no email notifcation is generated.

I know the configuration is correct because when I add a record to the same form using the standard form and check the "Send notification e-mail" checkbox I see a generated email.

Is there a way to ensure that I get the same result when using BizFormItem.Insert() ?

Upvotes: 0

Views: 1161

Answers (1)

Jerreck
Jerreck

Reputation: 3020

There doesn't seem to be any email behavior in the BizFormItem class, but you could use the classes in Kentico's CMS.EmailEngine namespace to create an email message and populate it with the data from your BizForm.

Take a look at this article on Kentico's Email API to see how to create emails in Kentico, then take a look at the code in step 3 of this article on Kentico's BizForm API to see how to get data from a BizForm.

Upvotes: 2

Related Questions