Skip to content

Instantly share code, notes, and snippets.

@justinloring
Created January 13, 2020 13:56
Show Gist options
  • Save justinloring/a3c11490822bbaf7ce26d2ba1b46578f to your computer and use it in GitHub Desktop.
Save justinloring/a3c11490822bbaf7ce26d2ba1b46578f to your computer and use it in GitHub Desktop.
Send-TextAlert.ps1
Read-Host "Make sure email list has been created before pressing enter."
$ver = "@vtext.com"
$att = "@txt.att.net"
$spr = "@messaging.sprintpcs.com"
$tmo = "@tmomail.net"`
#Send-MailMessage -From "s7@republicservices.com" -To "8155308515@vtext.com" -Subject "DP HDD Storage Alert" -SmtpServer "relay.repsrv.com" -Body "D-721-01 has dropped below storage threshold."
Send-MailMessage -From "s7@republicservices.com" -To "2193063146@txt.att.net" -Subject "DP HDD Storage Alert" -SmtpServer "relay.repsrv.com" -Body "D-721-01 has dropped below storage threshold."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment