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
There are no attachments for this article.
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
sysdumpdev Command
Viewed 1624 times since Mon, Jul 16, 2018
How to check dual path in AIX
Viewed 13125 times since Fri, Jun 8, 2018
Writing a Custom PVID
Viewed 2707 times since Fri, Feb 1, 2019
Viewed 10987 times since Wed, May 30, 2018
AIX↑ AIX www links
Viewed 3471 times since Sat, Apr 20, 2019
How to know witch process is running in a particular port on AIX using KDB
Viewed 12347 times since Thu, Nov 29, 2018
Create a mksysb + SPOT using NIM (CLI)
Viewed 5372 times since Tue, Jul 17, 2018
n a perfect world....rootvg would always reside on hdisk0
Viewed 2084 times since Thu, Jun 6, 2019
AIX - How to unlock and reset user’s account
Viewed 16049 times since Fri, Jun 8, 2018
Removing Failed or Missing Paths
Viewed 2531 times since Wed, May 30, 2018