Please run the script as System User
This script can be used to send email based on ping status of the domain name or IP given by the user.
NOTE:
The following would be changed for receiving the mail to concern person.
pingip=r"CHANGE_ME" #Provide the domain name or IP address to ping
Send_Email=1 #Provide 1 if you want to send ping status report as an mail or Provide 0 if you don't want to send an mail.
Receiver=r"CHANGE_ME" #Provide the email id for which the report will be sent if you have provided Send_Email as 1
Sender = "CHANGE_ME" #Provide the email id here from which the report will be sent if you have provided Send_Email as 1
Password = "CHANGE_ME" #Provide the password here for the email address you have given in the Sender Variable.
Comments