title: Send email reply using powershell
body: <p>I am using a powershell script to send an email using:</p>
  
  <pre><code>$smtpClient = New-Object System.Net.Mail.SmtpClient
  $smtpClient.Host = 'smtp.gmail.com'
  $smtpClient.Port = 587
  $smtpClient.EnableSsl = $true
  $smtpClient.Credentials = [Net.NetworkCredential](Get-Credential GmailUserID)
  $smtpClient.Send($emailMsg)
  </code></pre>
  
  <p>Where $emailMsg is setup as:</p>
  
  <pre><code>$emailMsg = New-Object System.Net.Mail.MailMessage
  $emailMsg.From = $YourEmail
  $emailMsg.To.Add($RecipientEmail)
  $emailMsg.Subject = $Subject
  $emailMsg.Body = $body
  $emailMsg.Attachments.Add("$PSScriptRoot\$AttachmentFile")
  </code></pre>
  
  <p>What I really need to be able to do is send a follow up email that will be a reply to this initial message, is there a way to do this through powershell?</p>