I got the solution to my question. Sometimes we think too complex solutions for the simple questions.
The subject just required to be assigned with echo command to get it displayed in the mail.
This resolves the problem.
Thanks for your valuable efforts.
Hmm, interesting, I wonder if that is something to do with the way oracle is assigning the variable $week_end_dt
As an aside, what unix are you running? and what version of oracle?
Hi friends,
i have seen the following line in some unix shell script .
can some one explain me what exactly the statement is meant for ?
=========================================================
mailx -s " Master Data Transmission Report for $TODAY at $TIME " < /etc/tr/tmp/$tmplog... (5 Replies)
Hi,
mailx -s "hi" -r "abc@yahoo.com" aaa@yahoo.com<<EOF
Hi,
~<!uuencode a.txt a.txt
EOF
the above code is sending mails, but attachment is not going instead i just get like below
~<!uuencode a.txt a.txt
Thanks. (3 Replies)
Dear All,
I need to send a mail to a group ( the address of which is in a .profile file)..My basic mailing functionality isn't working. When i try to run
mailx -s "Hello" abc@xyz.com the command does not return to the prompt an runs infinitely.
Request you to help me out here along with... (3 Replies)
hi,
i want to pass a unix variable as the subject of the mail alongwith a string. My part of code is as below..
week_end_dt=`sqlplus -s rsamart@martdev.world/rsamart<<EOF
SET FEED OFF;
SET TIMING OFF;
SET HEADING OFF;
SET PAGESIZE 500;
SET LINESIZE 1000;
select... (1 Reply)
How does the -s command work with mailx. I know that -s is to create a symbolic link when being used with ln but i'm not sure what the command does with mailx.
Anyone?:confused: (1 Reply)
Hi All,
Can anyone please provide the command for sending an mail with attachment using mailx command.
Thanks in Advance :)
Regards,
Siram. (3 Replies)
HI All,
I have an unix server , where sendmail command works for sending mail.
But if i use mailx command it is not working.
Is there any specific settings needed for this.
Kindly help.
Thanks and Regards
Rj (1 Reply)
Dear all,
Every time if i use mailx it is asking for entering the From Address.
I want to set it in some place, So that it will take it by default whenever we send mails.
Pl help on this.
Regards
JeganR (2 Replies)
Hi,
I am seeing that this command is sending mail even when the nawk command in untrue ( does not have any output ). I only want it to send mail, where it goes above the threshold, and has some output.
nawk -F'(MOD dn="uid=)|(DEL dn="uid=)|' '/(MOD dn="uid=)|(DEL dn="uid=)/... (2 Replies)
Using RHEL 5.5
New to using 'mailx'
Was trying to check if mailx is configured.
mailx command gives a list of unread mails.
Now I tried to send mail using this command to a local or on network machine using
mailx -s "Test2" "root@<servername>"
But did not receive any message. (6 Replies)