Problem with uuencode


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Problem with uuencode
# 15  
Old 08-26-2011
Quote:
Originally Posted by Alex_Smith
Hi,

I am still getting the junk data.

Please advice.

Also Try,

Code:
uuencode myFile.csv myFile.csv | mailx -m -s "Hi" abc@xyz.com

# 16  
Old 08-26-2011
I am getting the below erorr message : -

Code : -
uuencode myFile.CSV myFile.CSV mailx -m -s "Hi" myid@doma.com

Error: -
mailx: invalid option -- m
Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ...
[-- sendmail-options ...]
mail [-iInNv] -f [name]
mail [-iInNv] [-u user]
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

uuencode problem

Hi, I am making a shell script on HP-UX that will do some Oracle db query and fetch data. Then after formatting the output files (there are two files) in a csv format, I want to send them as email attachments. Unfortunately the email contains garbage. I could not find solution to the problem... (13 Replies)
Discussion started by: asutoshch
13 Replies

2. Shell Programming and Scripting

mailx, uuencode problem

I've this command to run ... Purpose : Send attachment file with e-mail body... ( E-mail body i read it from text file) uuencode TEST_FILE.csv TEST_FILE.csv | cat /usr/local/bin/EMAIL_BODY.txt - | mailx -s "TEST Report" -c receiver1@mail.com receiver2@mail.com Here is the... (2 Replies)
Discussion started by: prash184u
2 Replies

3. Shell Programming and Scripting

problem with uuencode

Hi everyone, I'm emailing a spool file to a person using mailx. I'm using uuencode to attach the file to the email. but am getting this error uuencode: ISO8859-15 to 646 conversion: Invalid argument Any ideas as to why. The code is below sqlplus -s user/password@database <<EOF set... (9 Replies)
Discussion started by: rjsha1
9 Replies

4. Shell Programming and Scripting

Problem with uuencode

i used below code to attach a file but it's not attaching the file but sendinf a simple mail uuencode ${discord_file} mail_list.txt | mailx -s "TEST MAIL" xxx@yahoo.com (3 Replies)
Discussion started by: punitpa
3 Replies

5. Shell Programming and Scripting

Uuencode

Hi All, I have a queryin the uuencode option. Actually i need to attach two files in a single mail. I am aware of attaching a single file using the command below. (echo " The first file ";uuencode file1 file1) | mailx -s " The files " venkidhadha@in.com However i am not sure what... (6 Replies)
Discussion started by: venkidhadha
6 Replies

6. UNIX Desktop Questions & Answers

uuencode for attachment giving problem

Hi All, I am using unix's sendmail utility to send mails with attacments. I am using the uuencode command for attachments (zip). When i send the mails to some account which is configured in the MS outook it opens/unzip the attachments with no problem. But the same attachments seems to be... (3 Replies)
Discussion started by: manojram
3 Replies

7. Solaris

uuencode and mailx problem

We are running solaris 9. I can send emails using mailx with no problems. I can send attachments using uuencode no problems. What I can't do is change the name to .txt or .doc or anything else using uuencode. The command I am using is: uuencode /tmp/AsetReports /tmp/AsetReports.doc | mailx -s... (2 Replies)
Discussion started by: zeekstern
2 Replies

8. Shell Programming and Scripting

Problem with uuencode

I a script i telnet port 25 and part of the attachment is echo "Content-type: application/msword; filename= "$3" " echo Content-transfer-encoding: base64 echo "Content-disposition: attachment; filename= "$3" " echo uuencode -m "$3" /dev/stdout $3 is a word document. When i send... (0 Replies)
Discussion started by: markms
0 Replies

9. UNIX for Dummies Questions & Answers

Uuencode problem in mail attachment

I have a unix script that compresses a .txt file using gzip command and then sends it by mail using uuencode. This has been working fine for some time, but lately I've been experiencing some problems, as when I open the mail generated, I don't see the attachment, but instead I get a large amount... (8 Replies)
Discussion started by: mvalonso
8 Replies

10. Shell Programming and Scripting

uuencode

hi all, I dont know of this is a duplicate thread, but the thread i started a while ago wasnot posted still. ok my question is i have a shell script named "mail_editck.sh". i have to include some reports in it so that i can get the email when they are done. the syntax goes like this. ... (2 Replies)
Discussion started by: tejasingaraju17
2 Replies
Login or Register to Ask a Question