I have a powershell script that sends out an email with an picture in the HTML but the picture is showing up as a blank square with a red X on it. I can\'t seem to figure ou
What I see that you can try is change the following. I had the same issue.
I copied from your code above:
$att.ContentId = “pic” to $att.ContentId = “pic.png”
and in the image tag change:
src=’cid:pic’
to
src=’pic.png’