AnsweredAssumed Answered

Trying to use the AF SDK to get to the SMTP server

Question asked by mikespath on Jun 20, 2019
Latest reply on Jun 20, 2019 by sraposo

Hello:

Our application uses the AF SDK to create notification rules and e-mail subscriptions. We are wondering how to use the connection that the AF sdk has with the SMTP mail server to send out an e-mail with an attachment. So far I found the following:  

https://pisquare.osisoft.com/thread/32839-how-send-a-notification-pi-af-sdk?_ga=2.16928826.2015184352.1560960078-378408162.1548859049

 

"If you are interested in triggering the Notification service to send an email then you need to create and configure a notification rule (you can do this in the UI), then you can programmatically create an AFEventFrame that meets the search criteria.  The Notifications service will detect this new event frame and send an alert for it based on what subscribers are configured. "

 

This helps us to trigger a notification but how would we attach a doc to the e-mail?

Mike

Outcomes