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: Remove existing disk
Viewed 2551 times since Sun, Jun 3, 2018
AIX, user gets “pwd: The file access permissions do not allow the specified action.”
Viewed 10840 times since Tue, Mar 16, 2021
AIX, System Admin Configuring dsh DSH
Viewed 3860 times since Fri, Apr 19, 2019
How To Mirror VG and Root VG
Viewed 3031 times since Mon, May 21, 2018
AIX NFS Version 4 configuration over Kerberos inter-realm setup
Viewed 3884 times since Wed, Jun 27, 2018
Aix: How to assign a specific PVID
Viewed 7176 times since Fri, Feb 1, 2019
Manually Editing /etc/filesystems Can Cause Issues
Viewed 5324 times since Tue, May 22, 2018
AIX - How to monitor memory usage
Viewed 5159 times since Fri, Jun 8, 2018
How to deal with performance monitoring in AIX ?
Viewed 7726 times since Fri, May 25, 2018
Got Duplicate PVIDs in Your User VG? Try Recreatevg!
Viewed 3288 times since Fri, Feb 1, 2019