AIX: How do you send an attachment via mail
Article Number: 258 | Rating: Unrated | Last Updated: Mon, Jun 11, 2018 12:44 PM
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.
Posted - Mon, Jun 11, 2018 12:44 PM. This article has been viewed 3128 times.
Filed Under:
AIX
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Related Articles

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
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