Home » Infrastructure » Unix » Script for Sending mail
Script for Sending mail [message #353612] Tue, 14 October 2008 05:49 Go to next message
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 Go to previous message
Michel Cadot
Messages: 64103
Registered: March 2007
Location: Nanterre, France, http://...
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
Previous Topic: Unix Id from Window Login ID
Next Topic: Error when running runInstaller
Goto Forum:
  


Current Time: Sun Dec 04 00:34:29 CST 2016

Total time taken to generate the page: 0.09112 seconds