World is now on Opti ID! Learn more
AI OnAI Off
World is now on Opti ID! Learn more
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?