Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/13/2023 06:21 PM
Hello,
I have created an Advanced HTML email template and applied it to the User Update Rule. However, when I tried to trigger the rule by updating one of the custom properties of the user, it didn't send an email.
When I test the template by only adding ${this.binding.variables.each {k,v -> println "$k = $v" + "<" + "br" + ">"}} on the body of the email, it provided the following output:
entitlement_endpoint_list = []
manager = admin
service_accounts_list = []
ownerOnTerminate = admin
serviceaccount_endpoints_list = []
baseUrlForEmail = https://release-n-plus-one.saviyntcloud.com/ECM
user = P000111
requestor = P000111
entitlement_value_list = []
out = java.io.PrintWriter@56d19375
[entitlement_endpoint_list:[], manager:admin, service_accounts_list:[], ownerOnTerminate:admin, serviceaccount_endpoints_list:[], baseUrlForEmail:https://release-n-plus-one.saviyntcloud.com/ECM, user:P000111, requestor:P000111, entitlement_value_list:[], out:java.io.PrintWriter@56d19375]
Attached is the body of an email I'd like to receive.
Solved! Go to Solution.
07/13/2023 07:02 PM
Below variables are not exposed.
${manager?.displayname},
${task?.accountName}
07/13/2023 07:19 PM
I tried to remove all the binding variables but still not sending an email.
07/13/2023 07:43 PM
what if you keep simple text hi hello
07/13/2023 08:00 PM
I put Hello but still didn't trigger an email which is a bit strange. When I input the test word it did send an email.
07/13/2023 08:02 PM
Share email template screenshot & logs
07/13/2023 08:23 PM
See the below information and attached is the desired email template.
07/13/2023 08:45 PM
I dont feel this is error. Try to attach email on report and test
07/14/2023 07:18 AM
This is an issue with your SMTP configuration.
Error while sending email Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535 Authentication Credentials Invalid\n","strea
Can you first try to send a test email from your email server setting? Once this works , you can check from User update rule.
07/14/2023 07:49 AM
Looks like issue with your STMP settings, I see authentication failure in logs. Please check your SMTP settings
07/14/2023 07:47 PM
Hi @mgandr ,
This seems to be SMTP server authentications issue.
1. Go to Admin -> Settings -> SMTP Configuration.
2. Provide the SMTP configuration like SMTP Server Name, Port, Username, Password etc.
3. Click on Save and Test Connection.
4. Provide your owner email id in pop up and click Test Now.
If you are getting Test email, then try the above use case again and check whether you are getting email through update rule or not.
07/16/2023 03:31 AM
It's now sending an email. I just modified the HTML.