question on uuencode


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting question on uuencode
# 1  
Old 07-26-2006
question on uuencode

Hi,

I have one text file which contains customer info with delimited character "|"
that is pipe symbol.

i perform below steps please advice whehter I was right or wrong:

* mv xyz.txt xyz.xls (renaming .txt file to .xls file)
* uuencode xyz.xls xyz.xls ( encoding .xls file)


now i want this excel sheet as an attachment to my mail....


please advice and guide me...



Regards,
RAghu
# 2  
Old 07-26-2006
Have you searched the forums?
Have a look at:
https://www.unix.com/showthread.php?t...light=uuencode
# 3  
Old 07-26-2006
What is the correct syntax with Mime types and Sendmail

The format of a text file needs to be protected. I also need to send the file plain text. When I send it as an attachement with uuencode it protects the format. However we need to be a text message within the body of the email?

I read on the sendmail website that Mime types may protect this file but I could not figure it out.

Chris
# 4  
Old 07-26-2006
I am not clear what you are asking for but I guess you are asking how to write message in the body of the mail.check this

http://unix.com/showthread.php?p=302...#post302081574
# 5  
Old 07-26-2006
What is the correct syntax with Mime types and Sendmail

The format of a text file needs to be protected. I also need to send the file plain text. When I send it as an attachement with uuencode it protects the format. However we need to be a text message within the body of the email?

I read on the sendmail website that Mime types may protect this file but I could not figure it out.

Chris
# 6  
Old 07-26-2006
I have read that, I guess what I am asking is I have a formatted email with columns. When I attach it as an attachment with uuencode, and open with say wordpad, the columns are lined up and intact.

However, I need this message to not be an attachment, I need them to be able to open there email and see this message as a formatted body where the columns line up?
Do you know how I can accomplish this?


Chris
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

uuencode

HI, I want to zip it before sending to email. -- This works fine. uuencode gtsa_lmt_pb_rfs_daily.txt ukba_pb_rfs_daily.csv | mailx -s "ukba_pb_rfs_daily" test@abc.com --Below command is not working, it sends zunk file. uuencode gtsa_lmt_pb_rfs_daily.txt ukba_pb_rfs_daily.csv | gzip... (9 Replies)
Discussion started by: Sampath.Rachcha
9 Replies

2. UNIX for Dummies Questions & Answers

uuencode

Ello I am having trouble getting uuencode to work. This is the command I am using. gzip -c /directory/path/file.txt | uuencode /directory/path/file.txt.gz | \ /usr/bin/mailx -s"file -$(date)" email@email.com < /directory/path/file.txt.gz However when I receive the email there is... (5 Replies)
Discussion started by: demention
5 Replies

3. Shell Programming and Scripting

uuencode error

hi all, i get the following error when i try and email a file as an attachment on a solaris box. the command is /usr/bin/uuencode $fileName $fileName | /usr/bin/mailx -s "file" $emailTo and the error is : /usr/bin/uuencode: ISO8859-1 to 646 conversion: Invalid argument The... (3 Replies)
Discussion started by: cesarNZ
3 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. Shell Programming and Scripting

expand and uuencode...

I have a log file that looks fine when you view it in Unix but when I send it as an attachment to myself it looses its formatting... so I am using "expand" to replace the tabs with spaces and the format looks good. The code below works great but I was wondering if there was a way to do this without... (2 Replies)
Discussion started by: sethcoop
2 Replies

7. Shell Programming and Scripting

uuencode/mailx

Hi all, I know how to use the uuencode/mailx commands to mail a single file within a directory, e.g. uuencode file.dat file.dat | mailx joe.smith@mail.com but now, i need to be able to mail every file within the directory with one command, any ideas? thanks :b: (1 Reply)
Discussion started by: ocelot
1 Replies

8. 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

9. Shell Programming and Scripting

mailx and uuencode question

I have this code below that works well. I also want to attach a logfile to the email. The first part of this code is the body of the email. echo "The size of $dirname/$f1 size = $f1size, and $dirname/$f2 = $f2size'" | mailx -s "Error with file sizes on $HOST Server" xyz@company.com ... (1 Reply)
Discussion started by: ssmiths001
1 Replies

10. UNIX for Advanced & Expert Users

UUencode UUdecode

Could any 1 send me the details for uuencode and decode . I am working on something which was coded by some1 else using these two commands . I am having a a pwd file with password in the encrypted form as y\215G\216!A\231Ò.:¹... they use a key file which decrpt that pwd file ....key file... (2 Replies)
Discussion started by: myelvis
2 Replies
Login or Register to Ask a Question