PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Sending an email in an SQR - from Linux

edited Sep 14, 2016 12:23PM in PeopleTools and Lifecycle Management - PSFT (MOSC) 3 commentsAnswered


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"

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center