Outlook is the only client that I have found that will handle uuencoded attached files. All others and the Linux world has deemed uuencode old standards and have turned away from it even though it works. In the Linux world, they expect you to use MIME. I have heard that there is a "mpack" program that will encode a file as MIME. I think I used it many, many years ago at a different company.
That said, we attach files to emails in AIX all the time as part of our reports on a DR preparation process. We use uuencode to do that. The uuencode command does have a -m option to create a MIME encoded output, but we have never been able to get Outlook to handle it properly. We echo text to a file, append the output from the uuencode command, and use
mail -s "test" myemail@myco.com < email_file
to send it. It shows up as an attachment.
------------------------------
Bruce
------------------------------
Original Message:
Sent: Mon October 04, 2021 09:25 AM
From: Glenn Lehman
Subject: Send file from AIX as mail attachment
Hello All,
How can we fix issues emailing attachments from UNIX (AIX or Linux) and making it show up properly in Outlook? We used to be able to simply use "uuencode" as part of a sendmail/mailx command inside a script, but it appears Notes knew how to interpret that whereas Outlook does not. Notes treated it as we wanted – as a separate file attachment, whereas Outlook embeds it into the email note body and it's just garbled text (unreadable). Same command -but depending on the email destination system, totally different results. Anyone have success sending files from AIX to Outlook ?
Thanks-in-advance.
------------------------------
Glenn Lehman
------------------------------