Hi,
I have two environments (one is hosted, other on premise). In hosted environment Send Email Smart Service works without problems, while same code in on premise installation doesn`t.We`re using the service to send an email to the person who started a request.
The configuration is following:
= toemailrecipient(user(rule!HR_GetUsernameByEmployeeId(pv!recordsUpdated['recordType!HR Absence Request.fields.employeeId'])[1],"email"))
Do you know what could be the reason for this to work in one setting and not in the other?
Kind regards,
Nejc
Discussion posts and replies are publicly visible
Could be related with the configuration of the SMTP server? iIs the same in both installations?
Hi nejcs6026 ,Just try to store the same email logic in a text variable using script task, check whether the value is correct.if it is storing in a variable, then definitely that's your SMTP issue.Usually Appian has its own SMTP server configured in cloud, so it is optimized to use in PMs.
thank you, both!I`ve set new text variable and script task, as Varun suggested, now I`m waiting for a request.
Will check with sys admin for SMTP configurationand share findings later.
thank you for now.
Br N
Please let us know if the issue get solved, it helps others to find the solution fast.