I have email extension installed. I create a thing "MyMailServer2" based on it and it works if test it with script.
However, it doesn't work when I create a entity Notification "EmailNotify" and set "MyMailServer2" as the handler. I have no clue about it , could you help ?
===================Updated on Feb 9==============
I didn't figure out the problem above , then I tried to turn to script to send email. So I need to get the recipients defined in the Notification. I can get the notification content "testNotify" by running the service "GetNotificationContents", While executing the service "GetUserRecipientsOfEvent" , it tells me no notification conent found(see the Capture5.PNG) . Any idea about it ?
The Thingworx I installed from : twxFoundationH2Trial-8.3.2-windows-installer.zip
Version of email extension: 3.6.0
Since you don't see any error messages, I would put some logger statements in the code, to verify that it is trying to send the email.
Actually I tried to send email via script firstly and it works, but I don't want to hard code the recipients in script. so I tried two options: 1. Notification entity and 2. find recipients in the script. But the problems are :
If you have found a solution to your problem, please post it here and mark it as the Accepted Solution for the benefit of others with the same issue.