November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
XForms should only send email if the editor has told the form to do so.
Does it send email even if you select "save to database"?
Sorry, I didn't give the full picture here.
No it doesn't send email if that option is not selected, but I want to send a custom email when the editor have selected that option. That's why I need to stop EPiServer from sending email automaticly.
I've followed this blog http://www.frederikvig.com/2009/10/sending-confirmation-email-to-the-user-when-using-episerver-xforms/ and my custom mail sends as it should. But now two emails is being sendt. My email and EPiServers email.
Did anyone find a solution to this problem? I'm having diffulties canceling the submit.
I want to stop EPiServer from sending a mail when a form is submitted. This was supposed to be as easy as hooking up to the BeforeSubmitPostedData event and setting the ChannelOptions as in the code below, but when the event fires e.FormData.ChannelOptions is always None so changing it here has no effect.
In my PostAction I found that xFormpostedData.SelectedSubmit.ChannelOptions have the correct values, but I cannot set it here cause it has noe setter.
What am I missing?