### Smtp setup
$smtp = "smtp.gmail.com"
$from = (hostname) + "@gmail.com"
$to = "[email protected]"
$CC = "[email protected]"
$date = Get-Date -Format yyyMMdd_HH:mm
$subject = "123456789 $SubjectService "
$encoding = [System.Text.Encoding]::UTF8
#$atcm1= "C:\JOBS\test20230101.txt"
#### Send Email
send-MailMessage -SmtpServer $smtp -From $from -To $to -Cc $cc -Subject $subject -Encoding $encoding -Body $StringMerge01 #-Attachments $atcm1