mirror of
https://github.com/rvrsh3ll/Misc-Powershell-Scripts
synced 2026-06-21 14:09:04 +00:00
Update Send-EWSEmail.ps1
Changed to send vs sendandsavecopy
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ function Send-EWSEmail {
|
||||
if ($Attachment) {
|
||||
$email.Attachments.AddFileAttachment($Attachment) | Out-Null
|
||||
}
|
||||
$eMail.SendAndSaveCopy()
|
||||
$eMail.Send()
|
||||
}
|
||||
|
||||
END {
|
||||
|
||||
Reference in New Issue
Block a user