Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Does this not work?
private static void XForm_BeforeSubmitPostedData(object sender, SaveFormDataEventArgs e)
{
e.FormData.MailFrom = "my@email.address";
}
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?