diff --git a/powershell/secure_mail.ps1 b/powershell/secure_mail.ps1 new file mode 100644 index 0000000..c440240 --- /dev/null +++ b/powershell/secure_mail.ps1 @@ -0,0 +1,11 @@ +$smtpserver = "mail.globalscape.com" +$from = "watchdog@server.com" +$to = "jonathan.branan@helpsystems.com" +$subject = "Folder Watch Dog" +$port = 25 + + +$body = "Hi there,
Folders reaching the limit:

" + +#Send the email +Send-MailMessage -smtpserver $smtpserver -Port $port -from $from -to $to -subject $subject -body $body -bodyashtml \ No newline at end of file