I am using CMS v12.31.2 and the form EPiServer.Forms v5.9.1
I've been trying to follow the way in this blog, https://world.optimizely.com/blogs/quan-tran/dates/2019/1/episerver-forms-storing-upload-file-in-httpsession/ but it doesn't work. The overrided method "InsertPostedFilesToSubmittedData" doesn't seem to get called.
I am trying to override the method in the SendEmailAfterSubmissionActor but when accessing the SubmissionData, I can only get the link to the file.
if there is a way to make the upload file into the attachment it would be great.
Thank you so much in advance
This thread has a slightly different approach to getting the file(s) -- maybe it'll help?
https://world.optimizely.com/forum/developers-add-ons-forum/Forms/thread-container/2020/2/how-to-attach-file-to-email-by-copying-files-from-httppostedfilebase-to-memorystream/
Thank you so much Daniel 👍
I am using CMS v12.31.2 and the form EPiServer.Forms v5.9.1
I've been trying to follow the way in this blog, https://world.optimizely.com/blogs/quan-tran/dates/2019/1/episerver-forms-storing-upload-file-in-httpsession/ but it doesn't work. The overrided method "InsertPostedFilesToSubmittedData" doesn't seem to get called.
I am trying to override the method in the SendEmailAfterSubmissionActor but when accessing the SubmissionData, I can only get the link to the file.
if there is a way to make the upload file into the attachment it would be great.
Thank you so much in advance