Slowly getting to grips with UmbracoForms. Can't find the email template being used. Have looked in App_Plugins/UmbracoForms but can't find anything obvious, including looking into some of the json files.
I'd like to change the wording on the template. Where is it located?
Find this file in your file structure /App_Plugins/UmbracoForms/Xslt/sendXsltEmailSample.xslt
Take a copy of the file make the changes that you want to it
Go into the Umbraco Forms section click on the workflow for your form, open up the workflow for the form, and click on the When the form is submitted, it should workflow change the type from send mail to send xslt transformed email. See the screenshot below
Save the file into Umbraco media library so you can pick in when you edited the workflow. If you don´t know it yet, then the smtp4dev https://smtp4dev.codeplex.com/ is a nice program for testing email sending on localhost.
Is this for the "Send Email" or the "Send XSLT Trasformed Email" option? I'm using just the "Send Email" option as I didn't think for one moment we'd still be using XSLT, I thought that stuff was dead and buried ;)
The default template that's being used has this at the top:-
"the form Contact form was submitted, this is the list of values it contained, you can turn this email off under workflows in Umbraco Contour"
I can't find it in the XSLT directory. However, doing a global search for the above phrase (don't know why I didn't do it before!) it's found in all the json files in /App_Plugins/UmbracoForms/Data/Workflows/someguid.json
"Message": "the form *form name* was submitted, this is the list of values it contained, you can turn this email off under workflows in Umbraco Contour"
I think the files are auto-generated when you create a new form. Why would you prepopulate the message? Is it impossible for the editor to change it or must it be done by developers fiddling with the json file?
It for the Send XSLT Trasformed Email workflow. I don´t think that you can get the control over the email template that is used for the Send Email workflow.
If I'd scrolled down the WorkFlow side panel before hitting "Update" I'd have seen the "Message" box prepopulated with the message. I've now modified it and sanity is restored :) I knew you wouldn't have sent a product out like that ;)
UmbracoForms Email Templates, where are they?
Slowly getting to grips with UmbracoForms. Can't find the email template being used. Have looked in App_Plugins/UmbracoForms but can't find anything obvious, including looking into some of the json files.
I'd like to change the wording on the template. Where is it located?
Thnx,
Craig
Hi Craig,
If you need to change something email templates, then you need to use the send xslt transformed email, send the result of the form to an email address (full control over the email contents by supplying an xslt file) https://our.umbraco.org/documentation/Products/UmbracoForms/Editor/Attaching-Workflows/#Sendxslttransformedemail
Find this file in your file structure /App_Plugins/UmbracoForms/Xslt/sendXsltEmailSample.xslt
Take a copy of the file make the changes that you want to it
Go into the Umbraco Forms section click on the workflow for your form, open up the workflow for the form, and click on the When the form is submitted, it should workflow change the type from send mail to send xslt transformed email. See the screenshot below
Save the file into Umbraco media library so you can pick in when you edited the workflow. If you don´t know it yet, then the smtp4dev https://smtp4dev.codeplex.com/ is a nice program for testing email sending on localhost.
Hope this make sense, and helps,
/Dennis
Thanks Dennis,
Is this for the "Send Email" or the "Send XSLT Trasformed Email" option? I'm using just the "Send Email" option as I didn't think for one moment we'd still be using XSLT, I thought that stuff was dead and buried ;)
The default template that's being used has this at the top:-
"the form Contact form was submitted, this is the list of values it contained, you can turn this email off under workflows in Umbraco Contour"
I can't find it in the XSLT directory. However, doing a global search for the above phrase (don't know why I didn't do it before!) it's found in all the json files in /App_Plugins/UmbracoForms/Data/Workflows/someguid.json
"Message": "the form *form name* was submitted, this is the list of values it contained, you can turn this email off under workflows in Umbraco Contour"
I think the files are auto-generated when you create a new form. Why would you prepopulate the message? Is it impossible for the editor to change it or must it be done by developers fiddling with the json file?
As for a dev email tool, I use this one, it works really well. It just intercepts any emails your sites send and displays them: http://www.toolheap.com/test-mail-server-tool/
Thnx
Craig
Hi Craig,
It for the Send XSLT Trasformed Email workflow. I don´t think that you can get the control over the email template that is used for the Send Email workflow.
/Dennis
If I'd scrolled down the WorkFlow side panel before hitting "Update" I'd have seen the "Message" box prepopulated with the message. I've now modified it and sanity is restored :) I knew you wouldn't have sent a product out like that ;)
Thanks,
Craig
is working on a reply...