>>>>> "SivaS" == S Selvam Siva writes: SivaS> Hi, We wrote a shell script which will do some posting work and SivaS> need to send the details of the work(posting). It works fine SivaS> when it is not cronned ,but it does not send mail when cronned. SivaS> I googled on this and found that we need some authentication for SivaS> sendmail to work when it is cronned. I tried the following SivaS> cron-script but it failed:
SivaS> echo "password" | sudo -u "username" -S script-to-send-mail.sh Does the following command work? $ echo "Test email" | mailx -s "test subject" your.em...@example.com -- Manish Life is beautiful.* * Conditions apply. _______________________________________________ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc