Is there a way to make the file upload field to include in the email as attachment?

Vote:
 

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

#334077
Dec 09, 2024 10:25
Vote:
 
#334084
Dec 09, 2024 19:47
Vote:
 

Thank you so much Daniel 👍

#334085
Dec 09, 2024 22:37
* 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.