Customer Portal

Is SMTP server etc. of EmailSender dynamically configurable on CloverETL server? How?

Comments 2

  • Avatar
    Pedro Vazquez Rosario
    0
    Comment actions Permalink
    Hi,

    You can use a Jobflow to trigger a graph (simple graph with EmailSender) based on if its the production or non production server. If for example you are using Scheduling you will Start a Jobflow and add a Parameter (we will call it Environment) that will be sent to the said Joblow. Please see below screenshot:

    emailSender.PNG

    We will use Environment Parameter to determine which graph will be executed (Production or Non Production). Each graph will have it own set of Parameters Files which will have the SMTP credentials (e.g. SERVER, USERNAME, PASSWORD). You will need access these Parameters and use them in the EmailSender component (e.g. ${SERVER}).

    I have taken the liberty of attaching a sample project with this exact use case.
  • Avatar
    jzhu
    0
    Comment actions Permalink
    Thanks, Pedro.

    That is a solution, which will do for now.
    But it is really inconvenient -- We'll have to create a few extra jobflows just for the SMTP server settings of EmailSender, for production/non-production and various local test environment. Hope it is better in the future.

Please sign in to leave a comment.