Copied to clipboard

Flag this post as spam?

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

  • M 34 posts 245 karma points
    May 23, 2019 @ 11:03

    Custom workflow using email template

    I've created a custom workflow to allow me to CC form submissions to an email address using as a basis.

    I'd now like to include the "razor email template functionality" of the default workflow. I've added

    [Umbraco.Forms.Core.Attributes.Setting("Email Template", description = "Email template to use", view = "EmailTemplatePicker")]
        public string EmailTemplate { get; set; }

    So I've got a picker working now, but I'm not sure how to combine the form submission with the template.

    I've seen this on the forums, but it seems a bit long winded for something that's already built in somewhere.

    Can anybody point me in the right direction?

  • M 34 posts 245 karma points
    Jun 17, 2019 @ 13:26

    Turns out there is an easier way. Within your custom workflow's execute method you can do


    Easy when you know how.

Please Sign in or register to post replies

Write your reply to: