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
AIX: Remove existing disk
Viewed 3287 times since Sun, Jun 3, 2018
LVM: Shrink & extend a filesystem/volume
Viewed 2706 times since Sun, Jun 3, 2018
Calculate hdisk READ / WRITE throughput (sequential IO) from AIX systems
Viewed 3283 times since Thu, Feb 21, 2019
AIX 6.1: Extend VG 0516-1714 extendvg 0516-1254 extendvg
Viewed 5274 times since Fri, Jul 6, 2018
Part 1, Network overview - Monitoring the hardware
Viewed 5916 times since Mon, Jun 4, 2018
AIX: How to identify the program listening in the given port
Viewed 3068 times since Mon, Jun 11, 2018
NMON nmon
Viewed 13152 times since Tue, Apr 16, 2019
Working with Virtual media library on VIO servers
Viewed 17370 times since Thu, Feb 21, 2019
List AIX File Systems the Easy Way With the lsvgfs Command
Viewed 2956 times since Thu, Sep 20, 2018
How To Mirror Your Root Disk On AIX (a.k.a. rootvg)
Viewed 6995 times since Mon, May 21, 2018