AIX: How do you send an attachment via mail

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.

0 (0)
Article Rating (No Votes)
Rate this article
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
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
AIX, Networking↑ Adding and deleting a static network route using the command line
Viewed 2201 times since Fri, Apr 19, 2019
Recovery AIX system when hang on boot (554 code error).
Viewed 14604 times since Thu, Feb 21, 2019
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