Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Use Powershell to read contents on email message pipe to variable

$
0
0

Hey guys,

       Got a new one for ya'll. I've been tasked with writing a powershell app that will watch an Exchange inbox and if the body of the email contains MSDS=xxxxxxxx.pdf email the xxxxxxx.pdf file to a external customer.

The email portion i know how to do no problem. I'm stumped on reading the body of the email and returning the variable xxxxx.pdf to pipe out that variable to my email function.

Tried doing some googling on this without much luck. Anyone done this before or have a tutorial/resource to point me in the right direction ?

Thanks

Rich


Rich Thompson


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>