Discussion:
uuencode
(too old to reply)
c***@br.ibm.com
2014-12-15 17:49:41 UTC
Permalink
Hi!

I have a problem with uuencode / mailx linux commands. When I run the
command line:

uuencode uuencode_test_file.txt uuencode_test_file.doc | mailx -s "TEST -
Report" ***@br.ibm.com

The following attachment return this:

begin 640 uuencode_test_file.doc
3555%3D-/1$***@5&5S="!&:6QE"@``
`
end


This issue just happen on Outlook mail client.


Could you please help us in this case?



Note: Was used Linux Operation System.





Thank you!

________________________________________
Carlos Eduardo Ramos
IT Specialist
AT&T Account - IBM Global Business Services - AS
AT&T ID: ce4469
Email: ***@br.ibm.com
Office: +55 19 2839 9184
Bruce Korb
2014-12-16 02:30:16 UTC
Permalink
Post by c***@br.ibm.com
Hi!
I have a problem with uuencode / mailx linux commands. When I run the
uuencode uuencode_test_file.txt uuencode_test_file.doc | mailx -s "TEST -
begin 640 uuencode_test_file.doc
`
end
This issue just happen on Outlook mail client.
Could you please help us in this case?
Hi,

In any event, "man uuencode" will tell you the correct usage.

On the theory that the .txt file is supposed to be one line containing:

UUENCODE Test File

your invocation of uuencode will produce exactly the sequence of characters
that show up in the body of your email. You have to save that email and
uudecode the result.
Bob Proulx
2014-12-16 04:16:28 UTC
Permalink
Post by c***@br.ibm.com
I have a problem with uuencode / mailx linux commands. When I run the
uuencode uuencode_test_file.txt uuencode_test_file.doc | mailx -s "TEST -
begin 640 uuencode_test_file.doc
`
end
That looks exactly correct. Congratulations. Your uuencode is
working properly.
Post by c***@br.ibm.com
This issue just happen on Outlook mail client.
Could you please help us in this case?
Note: Was used Linux Operation System.
I would not want to talk someone out of using uuencode since it is a
solid and robust way to send small files by email. But since the
middle of the 1990's we have had MIME standard ways of attaching
binary files to email. Using a MIME standard attachment would allow
all of the email clients including Outlook to detach the attachment as
a file verbatim. It is probably arguably better to use MIME rather
than uuencode these days.

If you have the 'mutt' mail client available you can use it similar to
mailx in order to attach files. This will attach two files as an
example.

echo The files are attached. | mutt -s "Subject Line Here" -a somefile1 somefile2 -- ***@example.com

Bob

Loading...