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 manage network tuning parameters
Viewed 7260 times since Mon, Jun 11, 2018
Top 4 Reasons for Node Reboot or Node Eviction in Real Application Cluster (RAC) Environment
Viewed 108123 times since Thu, Jun 21, 2018
AIX ODM for MPIO User Guide 09
Viewed 5188 times since Mon, Dec 31, 2018
AIX Reviewing AIX Error and Boot Logs
Viewed 4582 times since Wed, Mar 20, 2019
Script to show Total, Free and Used Memory on AIX
Viewed 4163 times since Thu, Nov 29, 2018
AIX Not all filesets for 6100-07_AIX_ML were found
Viewed 3978 times since Tue, Jul 17, 2018
IBM AIX commands you should not leave home without
Viewed 8169 times since Mon, Jun 11, 2018
Create a mksysb + SPOT using NIM (CLI)
Viewed 6610 times since Tue, Jul 17, 2018
How to enable Large Pages for a specific user on AIX?
Viewed 3754 times since Thu, Nov 29, 2018
AIX, System Admin Configuring dsh DSH
Viewed 5337 times since Fri, Apr 19, 2019