Sending an email in an SQR - from Linux
I have an SQR where I am trying to send an email which has both a body and an attachment.
I can get this to work running on PSNT servers using PSMAIL.
I have not been able to get it to work on LINUX using mailx and would very much like to.
When I use this command, I get the email body, but no attachment
uuencode /usr/tmp/verification.csv /usr/tmp/verification.csv | mailx -s "Verification Report" email@removed.com < /apps/ftp_temp/bodyemail.txt
When I use this command, I get the attachment, but no body
cat /apps/ftp_temp/bodyemail.txt;uuencode /usr/tmp/verification.csv /usr/tmp/verification.csv | mailx -s "Verification Report"