= 1) { $returnMessage = "You must add your library's SNMP Destination IP in order to send traps. You can do this on SNMP Destination page."; $errorCode = 1; } else{ send_snmp_test_trap($user); $returnMessage = "An SNMP test trap was sent to the configured destination(s)."; } ?>