Can mailx send attachment?
Use the new attachment switch (-a) in mailx to send attachments with the mail. The -a options is easier to use that the uuencode command. The above command will print a new blank line. Type the body of the message here and press [ctrl] + [d] to send.
How to send email with attachment in AIX?
Send email from unix (AIX) with PDF attachment
uuencode <attachment. pdf> <attachment. pdf>|mailx -s <subject> <mail_id> < <Message_file. txt> This one send the message with attachment.