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, Security, System Admin↑ Fix user accounts
Viewed 5320 times since Fri, Apr 19, 2019
How to know witch process is running in a particular port on AIX using KDB
Viewed 13465 times since Thu, Nov 29, 2018
AIX Assign a PVID to a new hdisk
Viewed 7160 times since Tue, Jul 17, 2018
AIX, Monitoring, System Admin↑ NMON recordings
Viewed 3581 times since Fri, Apr 19, 2019
Mirroring the rootvg Volume Group for AIX 4.1/4.2
Viewed 3668 times since Mon, May 21, 2018
AIX: Remove existing disk
Viewed 3222 times since Sun, Jun 3, 2018
AIX rootvg Mirroring
Viewed 5511 times since Mon, May 21, 2018
Migrating AIX User Environments
Viewed 2759 times since Wed, May 30, 2018
Epoch & Unix Timestamp Conversion Tools
Viewed 70391 times since Fri, Jun 22, 2018
AIX -- extending Logical Volumes online
Viewed 3376 times since Tue, Mar 12, 2019