I'm using the File Upload field in sitecoreformsextentions module with SXA 1.8 and Sitecore 9.02. According to the documentation for the send email action it should be attached to the email:

enter image description here

And it should be possible to get the value in the email template:

enter image description here

However whilst the file is uploaded to the rootstoragepath it is not attached to the email.

Is there something I need to do to wire this up with tokens or some config settings I'm missing somewhere?

I read this post but I'm using a different version and it looks to be supported from the docs: Send Mail with Attachment using Sitecore Forms

1 Answer 1


In the email template, you just place the name of the field in { } brackets.

In the email HTML below, the {File Upload} is my upload field.

<strong>Contact Us Form&nbsp;Submission</strong><br />
<br />
First:&nbsp; {FirstName} <br />
Last:&nbsp; {LastName}<br />
Email:&nbsp; {Email}<br />
Subject:&nbsp; {Subject}<br />
Uploaded File:&nbsp; {File Upload}<br />
<p>Message<br />
<br />

This is the field in the editor

enter image description here

Ends up like this

enter image description here

  • Thanks Chris that didn't work for me, I got this error: File: Unsupported field type Feature.FormsExtensions.Fields.FileUpload.FileUploadModel Feb 18, 2022 at 14:43
  • Maybe it's a version thing or something, thats what I assumed would work though. My other fields come through fine when using brackets like that. Feb 18, 2022 at 14:44
  • @AdamSeabridge I wonder if you are uploading a non-supported file type? I see this template /sitecore/templates/Modules/FormExtensions/Fields/FileUploadField/Validation/Allowed Content Types, trying to understand how it works.
    – Chris Auer
    Feb 18, 2022 at 15:06

Your Answer

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

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