Update Send-EWSEmail.ps1

Changed to send vs sendandsavecopy
This commit is contained in:
Steve Borosh
2018-07-29 16:36:07 -04:00
committed by GitHub
parent e0349552b7
commit 99d6f82cf3
+1 -1
View File
@@ -54,7 +54,7 @@ function Send-EWSEmail {
if ($Attachment) {
$email.Attachments.AddFileAttachment($Attachment) | Out-Null
}
$eMail.SendAndSaveCopy()
$eMail.Send()
}
END {