mirror of
https://github.com/jonbranan/globalscape.git
synced 2024-10-20 05:47:57 -05:00
11 lines
346 B
PowerShell
11 lines
346 B
PowerShell
|
$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
|