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
bootlist multiple boot logical volume found
Viewed 2834 times since Tue, Apr 16, 2019
Firmware Assisted Dump sysdump
Viewed 2157 times since Mon, Jul 16, 2018
AIX WIKIS developerworks
Viewed 2494 times since Sun, Jun 17, 2018
AIX, Installation, NIM↑ Creating an LPP source and SPOT in NIM
Viewed 15162 times since Fri, Apr 19, 2019
How to enable Large Pages for a specific user on AIX?
Viewed 2739 times since Thu, Nov 29, 2018
Create a mksysb + SPOT using NIM (CLI)
Viewed 5698 times since Tue, Jul 17, 2018
Online Backups and Recovery in a Snap AIX
Viewed 5311 times since Wed, May 30, 2018
Setup private yum repository for AIX clients
Viewed 11397 times since Thu, Feb 21, 2019
AIX, user gets “pwd: The file access permissions do not allow the specified action.”
Viewed 11508 times since Tue, Mar 16, 2021
AIX 6.1: Extend VG 0516-1714 extendvg 0516-1254 extendvg
Viewed 4640 times since Fri, Jul 6, 2018