how do I send an email notification via Agile PLM from a Powershell script?

I have an event which processes and summarizes data and I want to use my Powershell script to send an email through Agile PLM to a group of users/coworkers giving them a hyperlink to the report.  How might this be done?  I am relative new to Agile PLM but not to Powershell and/or Windows Event creation.

Agile User Asked on November 27, 2018 in IT and Networking.
Add Comment
3 Answer(s)

No Powershell calls to Agile. The SDK is Java based. You would have to build a java program.

Agile Angel Answered on November 28, 2018.

Thanks Steve.  Java developer kit now installed on my computer.
Now how do I do this within Java?

on November 28, 2018.
Add Comment
Best answer

Agree with Steve here. You can build a sdk based utility and use generic mail apis to configure such notification.

Agile Angel Answered on November 28, 2018.

How do I do this?

on November 29, 2018.
Add Comment

I was able to do this through javax.mail.  Google some examples of javax.mail and you should be able to find some answers for you. 
I am succesfully able to run a script from my desktop or within Agile SDK that imports the javax.mail* and javax.mail.internet* packages and emails whoever I need to – even creates a .csv file or other various attachments if I need it!  Note that your company’s email settings may detect this kind of email as spam but I didn’t experience an issue in my company to all of the internal employees. 

Google points like:  javax.mail, MimeMessage class, Transport.send() method, Internet Address for some examples. 

Let us know if you need help.

Agile Angel Answered on December 4, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.