Does anyone know how can I change the from email address, when an email is sent, to the company name?
I want that when I recevie an email through umbraco contour, I want to show the comapny name as FROM and not the actual emaill adress used to send the email.
Well the providers are isolated in a single assembly/project so you can make changes to those and just deploy them. Or you could create an additional workflow type in a new project or by dropping it in the App_Code directory (just make sure it has a unique id)
Beside the recommended solution, are there any other alternatives please? Because it sounds too complicated in order to choose the from name, just directly from contour, since it quite useful. Besides that, since I am using Send xslt transformed email workflow, can you please tell me which part needs to edited in the .cs Class?
I am using Umbraco forms and not Umbraco Contour. Are there any default workflow template which I can follow with in order to create a custom one and add new field types, such as the Sender name and the Repl-to fields?
From Name not email address but the Company Name
Hi,
Does anyone know how can I change the from email address, when an email is sent, to the company name?
I want that when I recevie an email through umbraco contour, I want to show the comapny name as FROM and not the actual emaill adress used to send the email.
Thank you.
Kind Regards
Comment author was deleted
You'll have to extend the default workflow since, sourcecode for all default providers can be found here: https://our.umbraco.org/FileDownload?id=5060
So you'll have to add an additional setting and then use that setting as the from name
Hi, Tim
Can you be more specific please?
Does anyone know exactly how can I achive this please?
Thank you.
Comment author was deleted
Have you downloaded the code? If you take a look at the code for the send email workflow it should be clear
Comment author was deleted
If you aren't familiar with vs and c# let me know and I can provide you an update workflowtype
Hi Tim
I have already have contour installed. How can I override the existing installation to affect the update of the workflow then?
thank you.
Comment author was deleted
Well the providers are isolated in a single assembly/project so you can make changes to those and just deploy them. Or you could create an additional workflow type in a new project or by dropping it in the App_Code directory (just make sure it has a unique id)
Hi Tim,
I didn;t understand the process. Can you please be more clear and also show me the updated workflow please?
Appreciate.
Thank you.
Comment author was deleted
Sure thing I'll provide you with an updated version later this afternoon
Comment author was deleted
Here is the updated version: https://gist.github.com/TimGeyssens/3fffc0a4a6e457a0cd08 simply save as a .cs file in App_Code and you should be able to select it as a new workflowtype
Hi Tim,
I am working with Send xslt transformed email workflow.
Hi Tim,
Beside the recommended solution, are there any other alternatives please? Because it sounds too complicated in order to choose the from name, just directly from contour, since it quite useful. Besides that, since I am using Send xslt transformed email workflow, can you please tell me which part needs to edited in the .cs Class?
Thank you.
Hi Tim,
I am using Umbraco forms and not Umbraco Contour. Are there any default workflow template which I can follow with in order to create a custom one and add new field types, such as the Sender name and the Repl-to fields?
Thank you.
Kind Regards
Comment author was deleted
Ok :) no default one, you'll need to customize an existing one, will share a snippet
Comment author was deleted
Here it is https://gist.github.com/TimGeyssens/6ff5392c4d9bbf89bdfc you'll need to add a new property and then mark it with the Setting attribute, then use that new property as the Sender name
is working on a reply...