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
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.
Varun Teja Gurrapu David J (NTT DATA)
We have similar issue where the emails are not delivered - configuration screenshot as below. Output parameter ToValidAddresses populate with To email address.
Hi Sanjay Joshi ,
are you trying to do in cloud or onpremise?I can answer you according to your platform.
Varun Teja Gurrapu - It is for On-Cloud
So If you haven't configured any SMTP settings in Appian Admin console.Then definitely you wont get any emails with certain custom senders, because the domain that email node uses is from Appian authorized like following image:you are trying to send email as the custom sender from the same appian domain.So if you use custom sender, some email providers blocks these type of emails or diverts into spam as it is not treated as reputated domain, mostly in gmail.If possible add an email authentication from your domain like XXX@yourcompany.com in admin console, follow this guide .Please check this for additional Info - Custom Sender.I do know a bit because i'd faced this issue before in POCs.