uuencode: command not found when sending mail in LINUX


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users uuencode: command not found when sending mail in LINUX
# 1  
Old 10-02-2007
uuencode: command not found when sending mail in LINUX

HI all,

When i run this command below i get this error:

(cat /root/body.txt ; uuencode -m Summaryfile.zip) | mailx -s "completed" sandeep@help.com


bash: uuencode: command not found



Does anyone know why this is happening?

Or is there any alternative to send mail with an attachment in LINUX?

Any help on this will be appreciated

Thanks,
Sandeep
# 2  
Old 10-02-2007
Quote:
Originally Posted by bsandeep_80
bash: uuencode: command not found

Does anyone know why this is happening?
Just like the message says, it can't find uuencode on the path. Either you have it and it's not on the path, or you don't have it.

Presumably you then have the option to install it.
# 3  
Old 10-02-2007
I'm not sure if uuencode is available for GNU, but you may substitute with this.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Sending mail with attachment(image) using sendmail in Linux(ksh)

Hi guys, I am trying to send a mail with below command which is working fine. $FilePath_mail have To,From and other information along with mail body which is in HTML format. I want to have image(logo) in the body. So just wanted to send it as an an attachment. /usr/sbin/sendmail -t <... (1 Reply)
Discussion started by: balakrishnaps
1 Replies

2. Shell Programming and Scripting

Sending multiple files using uuencode command

Hi All, I want to send multiple CSV file using below code. In Result folder, we have multiple CSV files. However, I want to catch only Summary CSV files. I was trying using *, % with different combination. However, not able to do so. From below code, I could send only one file... (1 Reply)
Discussion started by: Swapnil Mawle
1 Replies

3. Linux

Uuencode not found

Hi guys when i try to get the man page of uuencode i am getting it,But when i use in shell script to send attachment i am getting uuencode not found error .please help me guys.Thank U (3 Replies)
Discussion started by: mohanalakshmi
3 Replies

4. Red Hat

uuencode not found !

When I do this: $ whereis uuencode uuencode: /usr/share/man/man1p/uuencode.1p.gz Does that mean it is not installed? Becuase when I use this command it says it is not found !!! Anythought what needs to be done? OS=RedHat 5.8 Linux. (8 Replies)
Discussion started by: mrn6430
8 Replies

5. Shell Programming and Scripting

sending multiple files along with mail message using uuencode

Hi, I have a requirement to send a mail with multiple files attached to it and along with the text message in the mail. I am trying sumthing like below but it only sends me the text message and no files attached to the mail. ---------------------------------------- ( uuencode file1... (1 Reply)
Discussion started by: sachinkl
1 Replies

6. Shell Programming and Scripting

How to embed a html file in a mail sending from Linux box with uuencode or mailx?

How to embed a html file as subject in a mail sending from Linux box with uuencode or mailx or any other way? we do not want the file as attachment, it should be embedded in the mail subject. (2 Replies)
Discussion started by: johnveslin
2 Replies

7. Shell Programming and Scripting

sending mail through mailx command

Hi I need help to send mail through mailx command . Currenlt my program is like #!/bin/ksh -x echo " " >> path.lst MAIL_LIST='someone1@gamil.com someone2@gamil.com someone3@gamil.com' cat path.lst | mailx -s "path loaction" $MAIL_LIST echo "End" exit 0 Its work fine . But i... (3 Replies)
Discussion started by: mani_isha
3 Replies

8. UNIX for Dummies Questions & Answers

Sending a simple mail from command line

Hi, How would one send an email from the command line. Just a simple email. I used mailx -s "test" address@server.domain then hit enter. Nothing happens then, I hit Ctrl + C twice, then I can start a new command again. Any help? Tips? I did read up on this, but the examples is much more... (2 Replies)
Discussion started by: McGuywer
2 Replies

9. Linux

help sending mail on linux server

Hi, I coded a bash script.I m trying to use this command in the script mail -s "test" user@abc.com I tried this command on prompt.however it hangs.I check /var/log/maillog/ stat=Deferred: Connection timed out with mail.rdmedia.com. sendmail: n0M8lscO014303: localhost did not issue... (2 Replies)
Discussion started by: sunsail
2 Replies

10. UNIX for Dummies Questions & Answers

sending mail using mailx command

Hi All, Please help me regarding sending mails using mailx command in unix. I will be glad if some one give me the sintax of this. I tried using the below but vain. mailx -s 'Hi' 'xyz@abc.com' Regards, Manas (5 Replies)
Discussion started by: manas6
5 Replies
Login or Register to Ask a Question