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
SSH-COPY-ID on AIX. SSH remote AIX’s box without password
Viewed 17631 times since Thu, Feb 21, 2019
AIX boot proccess
Viewed 3316 times since Tue, Apr 16, 2019
How to setup an user in AIX
Viewed 4215 times since Mon, May 28, 2018
Create bootable DVD iso image from a mksysb backup
Viewed 4928 times since Tue, Jul 17, 2018
AIX Net How to check VLAN ID number on AIX?
Viewed 16358 times since Thu, Nov 29, 2018
AIX: Configuring a network interface
Viewed 3842 times since Sat, Jun 2, 2018
AIX: Script to check if all paths are consistent and available
Viewed 3500 times since Tue, Jun 12, 2018
LVM: Display basic information about Physical Volumes, Volume Groups and Logical Volumes
Viewed 3112 times since Sun, Jun 3, 2018
Mirroring session (TTY) on AIX using portmir
Viewed 9602 times since Thu, Feb 21, 2019
LVM: Unmirror/Mirror "rootvg" Volume Group
Viewed 3744 times since Mon, May 21, 2018