I am trying to send the attachments using uuencode command, it works fine in one machine and not working in another machine.
This is line i have executed.
uuencode Results.tar.gz Results.tar.gz | mail -s "Risk Comparison Results" bb
@bb.com -c aa
@aa.com
It works fine in this machine:
-sh-2.05b$ uname -r
2.4.21-47.0.1.ELsmp
-sh-2.05b$ uname
Linux
-sh-2.05b$ locate uuencode
/usr/share/man/man1/uuencode.1.gz
/usr/share/man/man5/uuencode.5.gz
/usr/bin/uuencode
-sh-2.05b$ uuencode
Try `uuencode --help' for more information.
-sh-2.05b$ which uuencode
/usr/bin/uuencode
-sh-2.05b$
But not working in this machine:
-sh-3.00$ locate uuencode
/var/www/icons/uuencoded.gif
/var/www/icons/uuencoded.png
/usr/share/man/man1p/uuencode.1p.gz
-sh-3.00$ which uuencode
/usr/bin/which: no uuencode in (/usr/kerberos/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/quest/bin:/usr/X11R6/bin:/opt/VRTS/bin)
-sh-3.00$ uname -r
2.6.9-55.9.ELsmp
-sh-3.00$ uname
Linux
-sh-3.00$ uname -v
#1 SMP Tue Jun 19 07:44:28 EDT 2007
-sh-3.00$
please let me know how to resolve this issue.
Many Thanks ..
Cheers,
Sachine