This code runs successfully but does not send an email.Any help is appreciated.
Add-PSSnapin Microsoft.Exchange.Management.Powershell.Admin -erroraction silentlyContinue
function sendmail_withAttachment {
Param (
#[Parameter(Mand
Add-PSSnapin Microsoft.Exchange.Management.Powershell.Admin -erroraction silentlyContinue
function sendmail_withAttachment {
Param (
#[Parameter(Mand