Script for Sending mail [message #353612] |
Tue, 14 October 2008 05:49 |
mahantesh
Messages: 28 Registered: March 2008 Location: Mumbai ,India
|
Junior Member |
|
|
Hi all,
I am new to unix ...
I have created concurrent program in oracle apps and executable for the same . Then with what extansion i have to upload this file on to FND_TOP means with .prog or .sh
For sending mail i had created one script but it is not working properly
Script containt is
#!/usr/bin/ksh
# Initialise environment variables
ORA_USER_PASS=$1
USERID=$2
USERNAME=$3
REQUESTID=$4
#these are parameters from concurrent program
email_to=$5
email_cc=$6
subject=$7
#name of the file wich i want to use as attachment for mail
file_name=$8
uuencode "$file_name" "$file_name" |/usr/bin/mailx -s "$subject" $email_to
exit 0
can any one me for this
Thanks in advance
[Updated on: Tue, 14 October 2008 06:04] Report message to a moderator
|
|
|
Re: Script for Sending mail [message #353619 is a reply to message #353612] |
Tue, 14 October 2008 06:05 |
|
Michel Cadot
Messages: 68718 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Quote: | it is not working properly
|
This is meaningless.
Ana | My car didn't work for me. Tell me how I can make my car go.
|
Regards
Michel
|
|
|