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
Setup private yum repository for AIX clients
Viewed 12490 times since Thu, Feb 21, 2019
Firmware Assisted Dump sysdump
Viewed 3206 times since Mon, Jul 16, 2018
Script to show Total, Free and Used Memory on AIX
Viewed 4251 times since Thu, Nov 29, 2018
AIX Different Commands For Paging Space Administration swap file create
Viewed 8917 times since Thu, Aug 1, 2019
AIX alt_disk_copy
Viewed 11083 times since Sun, Jun 30, 2019
AIX - How to unlock and reset user’s account
Viewed 19106 times since Fri, Jun 8, 2018
AIX Password expiry /etc/passwd
Viewed 22221 times since Wed, Jul 3, 2019
How to Investigate a System Reboot
Viewed 5647 times since Mon, Jul 16, 2018
How to check VLAN ID number on AIX?
Viewed 16178 times since Mon, May 28, 2018
AIX - How to get IP and MAC address of ethernet adapter in AIX
Viewed 29050 times since Fri, Jun 8, 2018