Try our conversational search powered by Generative AI!

Changing email sender in XForm


Been trying to set the email adress sender when submitting an XForm, due to the reason that the reciver of the email can't distinguish who sent the form without some hassle with the Excel-export etc.

1. Changing FormDefinition.MailFrom won't work.

2. Changing the Submit Sender property in XForm_BeforeSubmitPostedData won't work due to getter only.

Any ideas?

Mar 05, 2013 10:10

Does this not work?

private static void XForm_BeforeSubmitPostedData(object sender, SaveFormDataEventArgs e)
    e.FormData.MailFrom = "my@email.address";

Mar 06, 2013 9:32
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.