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
Attachments
There are no attachments for this article.
Comments
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
Online Backups and Recovery in a Snap AIX
Viewed 5478 times since Wed, May 30, 2018
Do you Know These 5 Use of V$session View ?
Viewed 115558 times since Thu, Jun 21, 2018
AIX Booting
Viewed 10837 times since Tue, Apr 16, 2019
Unlock User ID in IBM AIX
Viewed 15789 times since Mon, May 28, 2018
Troubleshooting Starts With Understanding Your Physical Disks’ Attributes
Viewed 4332 times since Sat, May 19, 2018
How do I analyze and debug core files on AIX
Viewed 7120 times since Thu, Feb 21, 2019
AIX Undocumented AIX command lquerypv
Viewed 3905 times since Tue, Jul 17, 2018
AIX Full memory dump configure
Viewed 3634 times since Mon, Jul 16, 2018
Recovery from LED 552, 554, or 556 in AIX
Viewed 2946 times since Tue, Apr 16, 2019
Topics: PowerHA / HACMP, Storage Adding a new volume group to an active PowerHA resource group
Viewed 2910 times since Mon, Jun 3, 2019