We have a customer requirement that each server needs to have its own from email name and address:
DEV: Name - Appian DEV, Email - appianDEVdoNotReply@email.com
QA: Name - Appian QA, Email - appianQAdoNotReply@email.com
UAT: Name - Appian UAT, Email - appianUATdoNotReply@email.com
etc
Following the instructions in the decolumentation, I can configure dynamic email addresses, but it still shows a static name:
https://docs.appian.com/suite/help/17.1/Configuring_Custom_Email_Senders.html#expression-email-address
<?xml version="1.0" encoding="UTF-8"?> <emailConfig> <addresses> <address name="customUser"> <expression>=toemailaddress(user(cons!CUSTOM_USER, "email"))</expression> </address> </addresses> <collections> <collection name="from"> <items> <item>customUser</item> </items> </collection> </collections> </emailConfig>
Is it possible to use a dynamic portion in the email name as well?
<?xml version="1.0" encoding="UTF-8"?> <emailConfig> <addresses> <address name="customUser"> <expression>=toemailaddress(user(cons!CUSTOM_USER, "email"))</expression> </address> </addresses> <collections> <collection name="from"> <items> <item>user(cons!CUSTOM_USER, "Name") </item> </items> </collection> </collections> </emailConfig>
Discussion posts and replies are publicly visible