Skip to main content
July 18, 2024
Question

No valid recipients resolved

  • July 18, 2024
  • 8 replies
  • 2 views

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

8 replies

davidj137213
July 18, 2024

Could be related with the configuration of the SMTP server? iIs the same in both installations?

varuntejg243705
July 19, 2024

Hi [mention:8a282c2e930a4ef3a11826860141e8f7:e9ed411860ed4f2ba0265705b8793d05] ,

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.

nejcs6026Author
July 19, 2024

thank you, both!

I`ve set new text variable and script task, as Varun suggested, now I`m waiting for a request. [emoticon:c4563cd7d5574777a71c318021cbbcc8]

Will check with sys admin for SMTP configurationand share findings later.

thank you for now.

Br N

varuntejg243705
July 19, 2024

Please let us know if the issue get solved, it helps others to find the solution fast.