View Single Post
  #2  
Old 21st November 2009, 09:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Quote:
Originally Posted by almeister9 View Post
And then I made my first ever shell script which went like this:
#!/bin/bash
#
echo "$1 uploaded" | mail -s "New Upload : $1" test@mydomain.com

but It doesn't work.
Have you tried to use the full path for the mail command?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote