Forum Discussion
Community, any suggestions?
I've some something similar before using powershell and tying into an exchange server. What sort of environment are you working with? What email service do you need to use to send the report out with? Any/all information that you can provide will be helpful.
I am going to assume you are on a Windows machine since you referenced testrunner.bat. If so, do you have access to powershell on that machine? If not, what can you get access to?
- 6786 years agoRegular Contributor
yes, its windows machine and i can use powershell
- groovyguy6 years agoCommunity Hero
Powershell has a built in applet called Send-MailMessage. Here's a link with more information about it : Send-MailMessage
There's a lot of in's and out's to this method of email. Where's your email server? Hosted internally to your environment? Hosted externally by a cloud service? You'll need an account that the powershell script will be able to send as, etc. Here's another good tutorial: Sending email with powershell
Related Content
- 7 months ago