LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-24-2009, 10:15 AM   #1
zenith
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
uuencode not working for multiple files


Hi,

I have gone through the other related post but are of no help for me

I am sending multiple files as attachement.
The first file comes fine as an attachement but the other files are coming as binary.

For people with older version of email software they can see all attachements but the people with new version can see only the first attachement.
I have tried the following code but still the same problem.
Code:
Code:
mailx -s "test" ABC@XYZ.com << EOF
`/usr/bin/uuencode IJK.csv IJKM.csv`
`/usr/bin/uuencode IOU.csv IOLUA.csv`
EOF

Code:
(uuencode   IJK.csv IJKM.csv; uuencode -m IOU.csv IOLUA.csv) | mailx -s "test" ABC@XYZ.com
I want to fix the problem from unix side.
Appreciate help
 
Old 05-25-2009, 03:38 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Don't know what the problem here, but I use uuenview to send multiple attachments, using multiple -a options:
Code:
uuenview -m ABC@XYZ.com -s test -a IJK.csv -a IJKM.csv -a IOU.csv -a IOLUA.csv << EOF
Bye
EOF
uuenview usually pipes mail to sendmail. The uuenview command is available from the uudeview package, at least on Opensuse.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
uuencode sherimm Linux - Software 4 01-22-2009 01:47 AM
Ctrl-click not working to select multiple files; selects a few then resets selection sandaili Linux - Newbie 3 08-04-2008 06:54 PM
Change text in multiple files in multiple directories vivo2341 Linux - General 5 11-27-2006 08:16 PM
uuencode Berhanie Programming 4 11-27-2004 06:33 PM
tail multiple files not working in AIX - Help atmguy AIX 4 05-31-2004 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration