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 perf how to
Viewed 18737 times since Tue, Aug 14, 2018
AIX -- extending Logical Volumes online
Viewed 2707 times since Tue, Mar 12, 2019
Part 2, Detailed diagnosis and troubleshooting
Viewed 2789 times since Tue, May 22, 2018
AIX: Script to get Total Disk Size
Viewed 3665 times since Tue, Jun 12, 2018
Configuration of AIX Fast Connect and SMBFS
Viewed 8419 times since Mon, Jun 18, 2018
IBM AIX multipath I/O (MPIO) resiliency and problem determination
Viewed 13409 times since Wed, May 30, 2018
AIX Increase paging space logical volume size
Viewed 2871 times since Tue, Jul 17, 2018
Install and configure GNU’s screen on AIX
Viewed 8873 times since Thu, Feb 21, 2019
AIX - How to shutdown or reboot
Viewed 5467 times since Fri, Jun 8, 2018
AIX, Red Hat, Security, System Admin↑ System-wide separated shell history files for each user and session
Viewed 2213 times since Fri, Apr 19, 2019