How do I tell the XForm that it doesn't need to send an email?


I want to alter the format of the email that goes out from XForms.  Now, I've read up on this and reflected like crazy, and I understand that I can just send my own email out of the AfterSubmitPostedData event.

But how do I stop the XForm code from also sending an email?  I just need to tell the XForm, "Don't worry, I sent the email, you don't have to."

May 17, 2011 20:52

Alter e.FormData.ChannelOptions and remove ChannelOptions.Email.

According to this article you have to change it in BeforeSubmitPostedData.

May 17, 2011 22:28
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.