Skip to content

Commit

Permalink
Update Send-EWSEmail.ps1
Browse files Browse the repository at this point in the history
Changed to send vs sendandsavecopy
  • Loading branch information
rvrsh3ll authored Jul 29, 2018
1 parent e034955 commit 99d6f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Send-EWSEmail.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function Send-EWSEmail {
if ($Attachment) {
$email.Attachments.AddFileAttachment($Attachment) | Out-Null
}
$eMail.SendAndSaveCopy()
$eMail.Send()
}

END {
Expand Down

0 comments on commit 99d6f82

Please sign in to comment.