AIX: How do you send an attachment via mail
Article Number: 258 | Rating: Unrated | Last Updated: Mon, Jun 11, 2018 12:44 PM
Uuencode is the answer:
uuencode [source-file] [filename].b64 mail -v -s “subject” [email-address]
For example:
# uuencode /etc/motd motd.b64 mail -v -s “Message of the day” email@hostname.comI
use the .b64 extension which gets recognized by Winzip. When you received your email in Outlook, you will have an attachment, which can be opened by Winzip.
Posted - Mon, Jun 11, 2018 12:44 PM. This article has been viewed 2413 times.
Filed Under:
AIX
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Related Articles

Script HW/SW AIX
Viewed 8550 times since Mon, Jun 4, 2018
AIX lspath Missing path
Viewed 8429 times since Fri, Oct 5, 2018
AIX perf how to
Viewed 17991 times since Tue, Aug 14, 2018
Topics: AIX, Networking, System Admin
Viewed 11136 times since Fri, Apr 19, 2019
AIX POWERHA/HACMP: Basic commands
Viewed 4767 times since Sat, Jun 2, 2018
AIX Net How to check VLAN ID number on AIX?
Viewed 14445 times since Thu, Nov 29, 2018
HOWTO: Copy a filesystem on AIX
Viewed 1998 times since Mon, May 28, 2018
AIX disk queue depth tuning for performance
Viewed 14284 times since Thu, Jan 16, 2020