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

Vote:
 

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."

#50939
May 17, 2011 20:52
Vote:
 

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

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

#50940
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.