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
Replacing a failed disk (rootvg)
Viewed 2768 times since Mon, May 21, 2018
Got Duplicate PVIDs in Your User VG? Try Recreatevg!
Viewed 3036 times since Fri, Feb 1, 2019
AIX Encrypted File System
Viewed 5596 times since Tue, Jul 17, 2018
AIX HOW TO CLONE A ROOTVG USING ALTERNATE DISK INSTALLATION ALTER_DISK_COPY
Viewed 15961 times since Sun, Jun 30, 2019
AIX hangs on boot? How to debug boot process on AIX systems
Viewed 9202 times since Thu, Feb 21, 2019
http://ibmsystemsmag.com/aix/administrator/backuprecovery/remote-sync/
Viewed 5206 times since Wed, May 30, 2018
AIX, System Admin↑ The chrctcp command
Viewed 2882 times since Fri, Apr 19, 2019
HOWTO: Copy a filesystem on AIX
Viewed 2267 times since Mon, May 28, 2018
Ethernet tunning for VIOS and AIX for 10 Gib/sec environtement.
Viewed 10107 times since Thu, Feb 21, 2019
Awesome Command to show top 15 processes using memory on AIX
Viewed 23543 times since Thu, Nov 29, 2018