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
Configure log file for cron daemon on AIX
Viewed 10831 times since Thu, Feb 21, 2019
Topics: AIX, System Admin↑ Export and import PuTTY sessions
Viewed 3172 times since Fri, Apr 19, 2019
A Change to the SMT Mode Default in POWER9
Viewed 5537 times since Fri, Jan 18, 2019
AIX↑ AIX www links
Viewed 3896 times since Sat, Apr 20, 2019
AIX - How to get network speed and statistic of ethernet adapter in AIX
Viewed 14588 times since Fri, Jun 8, 2018
AIX: How to determine which application created the OS core file
Viewed 2604 times since Mon, Jun 11, 2018
Script to download TL and SP for AIX using NIM and SUMA
Viewed 9347 times since Thu, Feb 21, 2019
Create jfs2 logical volume on AIX
Viewed 5139 times since Thu, Feb 21, 2019
AIX QHA
Viewed 11241 times since Mon, Jun 3, 2019
AIX Full memory dump configure
Viewed 3503 times since Mon, Jul 16, 2018