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. 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
  5. 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
  6. 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
  7. 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
  8. I am very thankful to you that you have shared this information with us. Read more info about Creative Kids Voucher Kits In NSW. I got some different kind of knowledge from your web page, and it is really helpful for everyone. Thanks for share it.

    ReplyDelete
  9. I am thankful to you for this article because you are providing such good information as I see, thanks for this. keep sharing this. CMA Course

    ReplyDelete
  10. Thank you for sharing this informative blog post. Your step-by-step guide was easy to follow and will definitely come in handy for those using WFFM. It's great to have such helpful resources available. If anyone interested in learning Fashion design course please join Learners Point Academy in Dubai.

    ReplyDelete

Post a Comment

Popular posts from this blog

Solr with Sitecore Checklist

Set Workflow using Item Buckets Search Operations