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 determine which application created the OS core file
Viewed 2651 times since Mon, Jun 11, 2018
Online Backups and Recovery in a Snap AIX
Viewed 5393 times since Wed, May 30, 2018
HMC: HMC and LPAR management commands
Viewed 7526 times since Sun, Jun 3, 2018
Script to download TL and SP for AIX using NIM and SUMA
Viewed 9437 times since Thu, Feb 21, 2019
Find out which port the daemon is using on AIX OS. (similar like command netstat -anp for Linux)
Viewed 11812 times since Thu, Feb 21, 2019
Trick to Purge/Clean Swap Usage on AIX
Viewed 8448 times since Thu, Nov 29, 2018
Using the AIX splitvg command
Viewed 4506 times since Mon, Jun 3, 2019
AIX PDF ALL
Viewed 6858 times since Mon, Jul 16, 2018
Secure Secure Shell
Viewed 11109 times since Fri, Aug 21, 2020
AIX snap - Prevent dump collection
Viewed 12436 times since Mon, Sep 17, 2018