Hi Ralph, here is the script that would do what you need, you just have to specify the following values that apply in your environment.
icp_ip = "<ip_address>"
icp_username = "system"
icp_password = "<password>"
smtp_ip = "<ip_address>"
smtp_from_address = "user@example.com"
addresses = {
"412": "user412@example.com",
"413": "user413@example.com",
}
You can change how often the script checks the VM folders here:
while(True):
checker.CheckMessages()
time.sleep(30)
I tested the script under Windows 10 with Python 3.6.
Petr