/
usr
/
local
/
stat_watch
/
includes
/
File Upload :
llllll
Current File: //usr/local/stat_watch/includes/email_test.shf
#! /bin/bash function fn_email_test { ### Given an email address, send a test message to that address. ### If a second argument is given, that will be included as part of the email message if [[ -z "$1" ]]; then echo "Please provide an email address to test sending messages to" exit fi v_EMAIL="$1" fn_send_email 4 "$v_EMAIL" echo "Attempted to send a test message to \"$v_EMAIL\" - check mail logs for details" }
Copyright ©2k19 -
Hexid
|
Tex7ure