When testing the new feature to Configure Custom Email Senders Inline, emails may not be received by certain mail servers. Upon further inspection, it is seen that the Sender and the Return-Path headers are not the same as the From header (which is the value configured in the Sender Email field configured in the Send Email Smart Service node).
For example, the Send Email Smart Service node is configured as follows:
However, instead of seeing "email@example.com" in the Sender header and the Return-Path header (as the pre-18.4 custom email senders would display), these headers display a different value such as "firstname.lastname@example.org" as seen below:
Return-Path: <email@example.com>From: IT Service Desk <firstname.lastname@example.org>Sender: <email@example.com>
This may result in emails failing to deliver to certain servers if these servers only accept mail from the domain "*@example.com" and block mail from other domains such as "*@siteurl.appianurl.com" or "*@siteurl.appiancloud.com".
This is the intended design for the Appian 18.4 Configure Custom Email Senders Inline feature. Since the feature introduced the ability for any designer to select any sender email and sender display name, it became important to make it explicitly clear that the email is being sent by the system on behalf of an email address, rather than from the email address directly.
Therefore, the feature will set the Sender header and the Return-Path header to the #site value specified in the conf.mailhandler.ntf_sndr_addr property in custom.properties. In Appian Cloud, the default value for this property is of the form "firstname.lastname@example.org".
Change the conf.mailhandler.ntf_sndr_addr property in custom.properties to an email address with the desired domain. In this case, setting the value to email@example.com will suffice.
Create an Appian Support case to request to change the notification sender email address property to an email address with the desired domain (rather than *@subdomain.appiancloud.com). In this case, requesting to set the value to firstname.lastname@example.org will suffice.
This article applies to Appian 18.4 and later.
Last Reviewed: March 2019
© 2019 Appian. All rights reserved.