03-15-2006
Yes I have an idea... but first put your script here so I can see what's going on.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello - In unix, can you tell me IF there is a way to send attachments via email without using uuencode command?
Thank you (3 Replies)
Discussion started by: panchpan
3 Replies
2. Shell Programming and Scripting
Hi,
I am using mailx command to send a mail with attachment. It's working fine, but with attachment I am getting one extra attachment like (ATT00131.txt). I have tried to use unix2dos command also. But still I am getting the extra attachment.
I am using the following code:
subject="temp... (5 Replies)
Discussion started by: viswanatharv
5 Replies
3. UNIX Desktop Questions & Answers
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
4. UNIX for Dummies Questions & Answers
Hi All,
I'm using uuencode to send out mail from unix to lotus notes,but i dont have any attachment to send out, I'm getting this message in the body of the mail
"Usage: uuencode remotedest"
however if i dont use uuencode I'm not able to send out mail
Please help
Thanks (1 Reply)
Discussion started by: gwrm
1 Replies
5. Shell Programming and Scripting
Hi All,
I have created a shell utility that runs various database jobs and then mail the output of the database jobs to the customers. This is a generic utility and executes almost 15 reports and sends the results out. To send the attachment I use uuencode. This had been working fine till... (4 Replies)
Discussion started by: anonymoususer45
4 Replies
6. OS X (Apple)
Hi,
We have few scripts that are run through jobs . It sends us daily reports (using mailx). This was working fine in Leopard. But in Snow Leopard there is problem with the attachments.Neither the attachment name is being displayed correctly(all it displays is "Mail Attachment") nor the format... (1 Reply)
Discussion started by: adash
1 Replies
7. Shell Programming and Scripting
Hi, I need to send a email as a txt file and i used the commands,
(echo `echo $EMAIL_MSG` ; uuencode "file.txt" "file.txt" ) | mailx -s "$EMAIL_SUBJECT" "$EMAIL_ID"
I received email with a attachment with all data but i get all of them in one row.
For example:
If file.txt contains value... (1 Reply)
Discussion started by: skcvasanth
1 Replies
8. Shell Programming and Scripting
H All
I want to send attachment in mail but I dont have uuencode installed in AIX server,
there is any alternative way to send attachment in mail. (2 Replies)
Discussion started by: ns64110
2 Replies
9. AIX
Dear All,
Would some one help me with this to send a file as attachment in a mail using a script without uuencode...
I am working on AIX 6.1, the thing is I dont have uuencode available... Is there any other alternate possible way to send file attachment with the mail without using uuencode... (11 Replies)
Discussion started by: msmadhan11
11 Replies
10. Shell Programming and Scripting
Hi Team,
I have written the following code snippet to send mail with attachment to recipient. But I am getting mail with attachment. But the file is empty. All the 3 Attachment* size is more than 80KB.
Not sure what is wrong in the command.
MSG_BODY1="hi"
LOG_FILE="a/b/c/log1.log"... (2 Replies)
Discussion started by: kmanivan82
2 Replies
LEARN ABOUT DEBIAN
uudecode
uuencode(1) General Commands Manual uuencode(1)
NAME
uuencode, uudecode - encode a binary file, or decode its representation
SYNOPSIS
uuencode [-m] [ file ] name
uudecode [-o outfile] [ file ]...
DESCRIPTION
Uuencode and uudecode are used to transmit binary files over transmission mediums that do not support other than simple ASCII data.
Uuencode reads file (or by default the standard input) and writes an encoded version to the standard output. The encoding uses only print-
ing ASCII characters and includes the mode of the file and the operand name for use by uudecode. If name is /dev/stdout the result will be
written to standard output. By default the standard UU encoding format will be used. If the option -m is given on the command line base64
encoding is used instead.
Note: uuencode uses buffered input and assumes that it is not hand typed from a tty. The consequence is that at a tty, you may need to hit
Ctl-D several times to terminate input.
Uudecode transforms uuencoded files (or by default, the standard input) into the original form. The resulting file is named name (or out-
file if the -o option is given) and will have the mode of the original file except that setuid and execute bits are not retained. If out-
file or name is /dev/stdout the result will be written to standard output. Uudecode ignores any leading and trailing lines. The program
can automatically decide which of the both supported encoding schemes are used.
EXAMPLES
The following example packages up a source tree, compresses it, uuencodes it and mails it to a user on another system. When uudecode is
run on the target system, the file ``src_tree.tar.Z'' will be created which may then be uncompressed and extracted into the original tree.
tar cf - src_tree | compress | uuencode src_tree.tar.Z | mail sys1!sys2!user
SEE ALSO
compress(1), mail(1), uucp(1), uuencode(5)
STANDARDS
This implementation is compliant with P1003.2b/D11.
BUGS
If more than one file is given to uudecode and the -o option is given or more than one name in the encoded files are the same the result is
probably not what is expected.
The encoded form of the file is expanded by 37% for UU encoding and by 35% for base64 encoding (3 bytes become 4 plus control information).
REPORTING BUGS
Report bugs to <bug-gnu-utils@gnu.org>. Please put sharutils or uuencode in the subject line. It helps to spot the message.
HISTORY
The uuencode command appeared in BSD 4.0.
uuencode(1)