Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tobbe 81 posts 387 karma points c-trib
    Jul 05, 2017 @ 10:36
    Tobbe
    0

    Workflow - Send email

    If I pick "Send Email" from choose workflow I want to exclude certain fields from email. Is that possible? Ive been trying to find the template which is used, but I cant find it. Where can I find it/can I edit it?

    My alternative is to choose "Send xslt transformed email", but then how can I attach files (from fields) to the email?

  • Mats Stam 66 posts 236 karma points
    Jul 05, 2017 @ 11:23
    Mats Stam
    0

    If I remember correctly, it's in the App_Plugins/UmbracoForms/Xslt/email.xslt

    I personally detest xslt, but I think thats what it uses :P

  • Tobbe 81 posts 387 karma points c-trib
    Jul 05, 2017 @ 11:32
    Tobbe
    0

    Hey thanks! Unfortunately it's not there :(

  • Mats Stam 66 posts 236 karma points
    Jul 05, 2017 @ 11:44
    Mats Stam
    0

    Was so sure, sorry bout that :)

    Right, so I think it's the sendXsltEmailSample.xslt that you kinda need, and copy that (think I just named it email.xslt when I did some testing way back :P)

    And then you need to send it as an "Send xslt transformed email" (where you choose type for the workflow). Then you can select your custom xslt template at the bottom.

  • Mats Stam 66 posts 236 karma points
    Jul 05, 2017 @ 11:47
    Mats Stam
    0

    If thats not exactly what you want, you can have a look at this: https://our.umbraco.org/forum/umbraco-pro/contour/74864-default-work-flow-email-template

  • Tobbe 81 posts 387 karma points c-trib
    Jul 05, 2017 @ 12:22
    Tobbe
    0

    Thanks again for your help Mats!

    As I wrote, Ive tried that. But the problem when using "Send xslt transformed email" is that I cant attach files (from form fields) to the email. This is done automagiclly with the "Send email"-workflow

  • Mats Stam 66 posts 236 karma points
    Jul 05, 2017 @ 12:51
    Mats Stam
    1

    My bad, I only read what the preview showed on Facebook :P

    My guess is your only option is to create a custom workflow then. Maybe this could get you started? https://stackoverflow.com/questions/28431623/umbraco-7-2-forms-not-contour-customize-the-email-work-flow

  • Markus Johansson 1945 posts 5898 karma points MVP 2x c-trib
    Jul 05, 2017 @ 20:38
  • Tobbe 81 posts 387 karma points c-trib
    Jul 06, 2017 @ 08:16
    Tobbe
    0

    ok thanks! will test that!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies