Posts

Showing posts from February, 2017

Attaching a file on WFFM Send email action

On Sitecore 8.1 i recently faced this issue, We have a CM/CD setup and we are using WFFM for our forms, One of the forms has a file upload field where we store the file in media library, and We have "Send Email" action where we also add the uploaded file link, However, what we are seeing in the email sent that Sitecore is generating the File URL with CD domain, in this format:

https://{CD Domain}/sitecore/shell/themes/standard/-/media/{guid}.ashx?db=master

We are disabling sitecore shell access on CD, so we can't really access this URL, So i reached out to Sitecore support team for help, they said this behavior is registered as a bug (ref 77357) and they gave the following workaround as a solution which is basically to attach the file into the email itself :

Navigate to /sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions/Send Email Message item. In Parameters field add the following: true.Save and publish changes.
uploaded file will be added into e…