Custom email senders

Hi everyone,

 

I would like to set up a custom Email Sender based on a constant ( cons!AT_USER_CONSTANT ), and it should be able to select in process model --> Send Email --> From dropdown list

I have successfully set up the email-address-config-custom.xml and email-address-config-custom_en_US.properties

But when I changed the constant to another value, I found that:-

1) the Sender Email Address is indeed bound by the conf.mailhandler.mail.user in custom.properties. 

2) Appian indicates that "Multiple SMTP servers can be specified using a comma-separated list. They will be tried in the order specified and mail will be sent using the first available." (source :https://forum.appian.com/suite/help/16.2/Mail_Server_Setup.html#configuring-appian-to-send-email ) while an expression (i.e. "cons!xxx) cannot be referred in a custom.properties file

 

In that way, how would the Email Sender be dynamic as my cons! value changes? What should I do to make the Email Sender's email address dynamic, regardless of different servers?

  Discussion posts and replies are publicly visible