I'm using Sitecore Forms Extension to build forms, Sitecore version 10.1. I created a form and added a "File Upload" element, and created an automated email campaign.

I'm having a problem that the attached file in the form is not attached to the sent mail, I only get the File Id and File name in the email.

enter image description here

According to this link I should be able to add a configuration so that the uploaded files are stored in a blob storage in order to get attached to the email.

I followed the steps and added the patch file to my instance, however, I'm still getting the same result in the sent email.

Any idea what I might be missing in order to be able to attach the uploaded file to the sent email?


1 Answer 1


I found something that might help you to identify your configuration. While checking the configuration Feature.FormsExtensions.AzureBlobFileStorageProviders.config I found that you need to register the serviceType like this in your patch.

    <register serviceType="Sitecore.ExperienceForms.Data.IFileStorageProvider, Sitecore.ExperienceForms"
            implementationType="Feature.FormsExtensions.FileStorageProviders.AzureBlobStorageFileStorageProvider, Feature.FormsExtensions"
            patch:instead="*[@serviceType='Sitecore.ExperienceForms.Data.IFileStorageProvider, Sitecore.ExperienceForms']" />

Check this link for the whole patch file.



You should also check that you have added the processor called AttachFileUploadProcessor that is handling the logic to attach file to SendEmail action. Find the whole source code of this processor in this GitHub link.


Also it should be in your config like this.

      <SendEmail role:require="Standalone or ContentManagement or DedicatedDispatch">
        <processor patch:before="*[@type='Sitecore.EmailCampaign.Cm.Pipelines.SendEmail.SendEmail, Sitecore.EmailCampaign.Cm']"
                   type="Feature.FormsExtensions.SubmitActions.SendEmail.FileAttachment.AttachFileUploadProcessor, Feature.FormsExtensions" resolve="true" />

Check the whole config here with this link.


Try this and hope this will solve your issue.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.