Copied to clipboard

Flag this post as spam?

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


  • Simon 692 posts 1068 karma points
    May 08, 2015 @ 15:11
    Simon
    0

    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

    May 08, 2015 @ 15:48

    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

  • Simon 692 posts 1068 karma points
    May 08, 2015 @ 16:27
    Simon
    0

    Hi, Tim

    Can you be more specific please?

     

  • Simon 692 posts 1068 karma points
    May 09, 2015 @ 22:18
    Simon
    0

    Does anyone know exactly how can I achive this please?

    Thank you.

  • Comment author was deleted

    May 11, 2015 @ 10:54

    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

    May 11, 2015 @ 11:03

    If you aren't familiar with vs and c# let me know and I can provide you an update workflowtype

  • Simon 692 posts 1068 karma points
    May 11, 2015 @ 11:06
    Simon
    0

    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

    May 11, 2015 @ 11:15

    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)

  • Simon 692 posts 1068 karma points
    May 11, 2015 @ 14:48
    Simon
    0

    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

    May 11, 2015 @ 14:59

    Sure thing I'll provide you with an updated version later this afternoon

  • Comment author was deleted

    May 11, 2015 @ 15:17

    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

  • Simon 692 posts 1068 karma points
    May 12, 2015 @ 17:08
    Simon
    0

    Hi Tim,

    I am working with Send xslt transformed email workflow.

  • Simon 692 posts 1068 karma points
    May 16, 2015 @ 12:13
    Simon
    0

    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.

  • Simon 692 posts 1068 karma points
    May 21, 2015 @ 14:33
    Simon
    0

    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

    May 22, 2015 @ 14:14

    Ok :) no default one, you'll need to customize an existing one, will share a snippet

  • Comment author was deleted

    May 22, 2015 @ 14:16

    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

Please Sign in or register to post replies

Write your reply to:

Draft