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 out why its doing that as the examples I saw online are doing the same thing I am (unless I'm missing something pretty obvious which I think I am). Also, the picture is attached as well to the email and that comes out fine. 

Here is the code:

```
    $tool="SQLPLUS"
        $cmdLine = "user/pass@P1 ``@C:\NetworkThresholdTriggers\PuertoRico\BYM\BYM.SQL"
        invoke-expression "$tool $cmdLine"
        $Application = "C:\Autobatch\Spotfire.Dxp.Automation.ClientJobSender.exe"
        $Arguments  = "http://server/spotfireautomation/JobExecutor.asmx C:\NetworkThresholdTriggers\PuertoRico\BYM\BYM_spotfirePDF.xml"
        $CommandLine = "{0} {1}" -f $Application,$Arguments
        invoke-expression $CommandLine
        $file = "C:\NetworkThresholdTriggers\PuertoRico\BYM\BYMTriggeroverview.png"
        $file2 = "C:\NetworkThresholdTriggers\PuertoRico\BYM\BYM.csv"
        $smtpServer = "smtp.server.net"
        $att = new-object Net.Mail.Attachment($file)
    $att.ContentType.MediaType = “image/png”
    $att.ContentId = “pic”
        $att2 = new-object Net.Mail.Attachment($file2)
        $msg = new-object Net.Mail.MailMessage
        $smtp = new-object Net.Mail.SmtpClient($smtpServer)
        $msg.Attachments.Add($att)
        $msg.Attachments.Add($att2)
        $msg.From = "email"
        $msg.To.Add("toemail")
        $msg.Subject = "CRITICAL Notification for 1XRTT BYM $maxDT"
        $msg.Body = "<p style=’font-family: Calibri, sans-serif’>
                      THIS IS A CRITICAL : Please view the attached CSV file for details.<br />
                     <img src=’cid:pic’ />
                     </p>"
        $msg.IsBodyHTML = $true
        $msg.Priority = [System.Net.Mail.MailPriority]::High
        $smtp.Send($msg)
        $att.Dispose()
        $att2.Dispose()
        invoke-expression "DEL $file"
        invoke-expression "DEL $file2"

```