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
Remove disk from volumegroup in AIX
Viewed 8337 times since Tue, Apr 16, 2019
What is OS Watcher Utility and How to use it for Database Troubleshooting ?
Viewed 32038 times since Thu, Jun 21, 2018
AIX: How to manage network tuning parameters
Viewed 7233 times since Mon, Jun 11, 2018
AIX NTP Client configuration
Viewed 13593 times since Tue, Jul 17, 2018
Checking HBA status on AIX
Viewed 20004 times since Fri, Oct 5, 2018
replacing (hot-swap) failed disk in rootvg
Viewed 10048 times since Thu, Sep 20, 2018
AIX: Remove existing disk
Viewed 3473 times since Sun, Jun 3, 2018
Replacing a failed disk (rootvg)
Viewed 3875 times since Mon, May 21, 2018
Monitor logfiles and command output on AIX using multitail.
Viewed 3167 times since Thu, Feb 21, 2019
How to Easily Generate AIX Systems Management Reports
Viewed 3879 times since Wed, May 30, 2018