search for: emailmessage

Displaying 3 results from an estimated 3 matches for "emailmessage".

2013 Jul 24
0
Alert Email
This is how I do it in <on-connect>, just reverse it for <on-disconnect>, it works pretty well: --- #!/bin/bash # THEDATE=$(date +%F-%H_%M) SUBJECT="Stream $1 started" EMAIL="myemail at mydomain.com" rm /tmp/emailmessage.txt EMAILMESSAGE="/tmp/emailmessage.txt" echo "Stream $1 connected to us on $THEDATE." > $EMAILMESSAGE # send an email using /bin/mail /usr/bin/mail -s "$SUBJECT" "$EMAIL" < $EMAILMESSAGE --- Cheers, Jordan On 07/24/2013 03:27 PM, Winn Johnston wr...
2013 Jul 24
5
Alert Email
anyone knows if is possible to create an email alert to notify me when a mount point is connecting and disconnecting? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20130724/b45e9502/attachment.htm
2013 Jul 24
2
Alert Email
It looks like those are bash scripts so try something like be sure your mail binary path is correct it may be somewhere else other then /bin echo "/bin/mail -s connecting someone at somewhere.com" > /home/icecast/bin/source-start chmod 775 /home/icecast/bin/source-start you may have a chown permissions issue too if the user that runs icecast can't see the