title: Embed a CSV file as a table in Outlook mail
body: <p>I have looked at similar questions but none used PowerShell. </p>
  
  <p>I have a CSV file with 6 columns, I'm able to send it as an attachment via Outlook using the following script: </p>
  
  <pre><code>$Outlook = New-Object -ComObject Outlook.Application
  $Mail = $Outlook.CreateItem(0)
  $Mail.To = "xyz@abc.com"
  $Mail.Subject = "Ping Test"
  $Mail.Body = "Eureka! It works."
  $Mail.Attachments.Add("C:\report.csv")
  $Mail.Send()
  </code></pre>
  
  <p>I want this CSV file to be displayed as embedded in the mail in form of a table. </p>
  
  <p>Something like this: </p>
  
  <p><a href="https://i.stack.imgur.com/M0MzQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M0MzQ.png" alt="enter image description here"></a></p>
  
  <p>For now I just need one table. I strictly need a way to do this via PowerShell.</p>
  
  <p>My PowerShell version is 5.1 </p>