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

Send In-line or Embedded Html Images Using Powershell Send-MailMessage

$
0
0

So I was trying to send an email with images embedded in it using HTML and powershell but I'm not sure how to access the cid to reference the images when I add them to the Send-MailMessage -Attachments argument.  I believe Send-MailMessage generates a random cid but I need to be able to reference this for a <img src='cid:imageCID'>. Has anyone ever encountered this before?


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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