mirror of
https://github.com/jonbranan/globalscape.git
synced 2025-01-17 22:41:56 -06:00
moved powershill script
This commit is contained in:
parent
38188c7a8f
commit
76c2727b84
11
powershell/secure_mail.ps1
Normal file
11
powershell/secure_mail.ps1
Normal file
@ -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,<br />Folders reaching the limit:<br /><br />"
|
||||
|
||||
#Send the email
|
||||
Send-MailMessage -smtpserver $smtpserver -Port $port -from $from -to $to -subject $subject -body $body -bodyashtml
|
Loading…
x
Reference in New Issue
Block a user