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 :

  1. Navigate to /sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions/Send Email Message item. 
  2. In Parameters field add the following: true.
  3. Save and publish changes.

uploaded file will be added into email attachments and you will not need the link to the file.

Hope this helps!

Comments

  1. This is a smart blog. I mean it. You have an excellent knowledge about this topic. Thanks for sharing such a great blogs to us. scratch junior coding course

    ReplyDelete
  2. Thanks for sharing the best information and suggestions, it is very nice and very useful to us. I appreciate the work that you have shared in this post. Keep sharing these types of articles here.python coding course for kids

    ReplyDelete
  3. Thanks for sharing this article here about the coding for kids. Your article is very informative and I will share it with my other friends as the information is really very useful. Keep sharing your excellent work.coding for kids

    ReplyDelete
  4. The article was up to the point and described the information very effectively. Thanks to blog author for wonderful and informative post.

    Python Training Course in Delhi

    ReplyDelete
  5. This is a smart blog. I mean it. You have an excellent knowledge about this topic. Thanks for sharing such a great blogs to us

    Python Training Institute in South Delhi

    ReplyDelete
  6. The article was up to the point and described the information very effectively. Thanks to blog author for wonderful and informative post.

    AutoCAD Training Institute in South Delhi

    ReplyDelete
  7. This is a smart blog. I mean it. You have an excellent knowledge about this topic. Thanks for sharing such a great blogs to us

    Data Science Training Institute in Delhi

    ReplyDelete
  8. It looks very exciting post about coding and their uses. It’s also very knowledgeable. The tips is helpful for beginners in the field. Thank you so much for sharing.

    Java Training Institute in Delhi

    ReplyDelete
  9. Its helpful for me and i everyone to try this
    Online market trading

    ReplyDelete

Post a Comment

Popular posts from this blog

Caching Rendering HTML when conditional rules are applied

Solr with Sitecore Checklist