SHARE
TWEET

Untitled

a guest Aug 18th, 2018 1,184 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (1) exten => sms,n,System(sendmail -f from@gmail.com -t to@gmail.com < /var/log/asterisk/sms.txt)
  2. (2) exten => sms,n,System(echo "Subject: Old and New full SMS File from ${DONGLENAME}"; /usr/sbin/sendmail -f from@gmail.com -t to@gmail.com < /var/log/asterisk/sms.txt)
  3.    
  4. exten => sms,n,System(( echo "Subject: Old and New full SMS File from ${DONGLENAME}"; echo; cat /var/log/asterisk/sms.txt ) | sendmail -f from@gmail.com -t to@gmail.com)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top