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.
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.