Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: shell script to send mail
Hello,
Thanks to every one who responded to my query.
I tried doing like this:-
mailx -s "from sco system" viraj999_at_lycos.com < msg
where msg contained: "this is test only" and saved it as file
BUT the problem is that I have not received this mail in this address.
Am I doing some thing wrong; looking at man mailx, I have been through all the files (mbox,mail,dead.letter) etc. but to of no use, there is nothing there.
Please help.
Regards,
Raja
On Tue, 10 Apr 2001 04:50:22
William Rogge wrote:
>From a shell script is easy, only one command:
>
>ex:/ mailx -s "$MSG_TITLE" $MAIL_TO_ADDRESS <$FILE_WITH_MESSAGE_BODY
>
>Hope this helps.
>
>-----Original Message-----
>From: Viraj Luthra [SMTP:viraj999_at_lycos.com]
>Sent: Monday, April 09, 2001 10:30 PM
>To: Multiple recipients of list ORACLE-L
>Subject: shell script to send mail
>
>Hello all,
>
>I need help. I need to write a shell script (aix box), when ever some loads
>a piece of software. How is this possible using unix shell scripting? can
>some one please send a skeleton of it where in I can just put in the
>environment variables and some text and off it goes?
>
>Also will the mail program use the std. internet protocol? I need to say
>send to an internet address, how do i do this?
>
>thanks
>
>raja
>
>
>Get 250 color business cards for FREE! at Lycos Mail
>http://mail.lycos.com/freemail/vistaprint_index.html
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Viraj Luthra
> INET: viraj999_at_lycos.com
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: William Rogge
> INET: William_Rogge_at_voltek.com
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).
>
Get 250 color business cards for FREE! at Lycos Mail http://mail.lycos.com/freemail/vistaprint_index.html
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Viraj Luthra INET: viraj999_at_lycos.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Apr 11 2001 - 00:18:29 CDT
![]() |
![]() |