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 - How to monitor memory usage
Viewed 7699 times since Fri, Jun 8, 2018
AIX TCP connection status
Viewed 21168 times since Mon, Jul 29, 2019
How to Backup and Upgrade a Virtual I/O Server Part I
Viewed 6268 times since Wed, Jun 5, 2019
AIX Changing ’defined’ or ’missing’ hard disk states to ’Available’ in IBM Smart Analytics System for AIX environment
Viewed 11920 times since Wed, May 22, 2019
Configuring an AIX client with multiple Kerberos realms
Viewed 10992 times since Mon, Jun 25, 2018
Authenticate AIX using MS DC’s kerberos servers (Active Directory)
Viewed 3089 times since Thu, Feb 21, 2019
How to check VLAN ID number on AIX?
Viewed 16324 times since Mon, May 28, 2018
Customizing a NIM Client Restore With a Post-Install Script
Viewed 12630 times since Wed, May 30, 2018
AIX: Error code 0516-1339, 0516-1397 0516-792: cannot extendvg with a previous Oracle ASM disk
Viewed 4837 times since Wed, Feb 6, 2019
Tips I Picked up at the Power Systems Technical University
Viewed 4605 times since Mon, Jun 11, 2018