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 oslevel version OS
Viewed 4864 times since Wed, Apr 17, 2019
Changing ’defined’ or ’missing’ hard disk states to ’Available’ in IBM Smart Analytics System for AIX environment
Viewed 2369 times since Thu, Sep 20, 2018
AIX www web Links
Viewed 3282 times since Fri, Apr 19, 2019
AIX Booting
Viewed 10251 times since Tue, Apr 16, 2019
Burn Image to DVD in AIX
Viewed 13437 times since Thu, Sep 20, 2018
How to check VLAN ID number on AIX?
Viewed 13351 times since Mon, May 28, 2018
vfcpmap on VIO Server
Viewed 9458 times since Tue, Jun 4, 2019
How to check dual path in AIX
Viewed 13819 times since Fri, Jun 8, 2018
AIX - How to unlock and reset user’s account
Viewed 16489 times since Fri, Jun 8, 2018
AIX FC Performance improvements for IBM AIX FC and FCoE device driver stacks
Viewed 5715 times since Fri, Jan 31, 2020