From 99d6f82cf33a4cac60dec8b89fa9a81056359209 Mon Sep 17 00:00:00 2001 From: Steve Borosh Date: Sun, 29 Jul 2018 16:36:07 -0400 Subject: [PATCH] Update Send-EWSEmail.ps1 Changed to send vs sendandsavecopy --- Send-EWSEmail.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Send-EWSEmail.ps1 b/Send-EWSEmail.ps1 index 7e2ae5c..5a5fbf3 100644 --- a/Send-EWSEmail.ps1 +++ b/Send-EWSEmail.ps1 @@ -54,7 +54,7 @@ function Send-EWSEmail { if ($Attachment) { $email.Attachments.AddFileAttachment($Attachment) | Out-Null } - $eMail.SendAndSaveCopy() + $eMail.Send() } END {