Re: mailing output
From: Black, Brian (BBlack_at_CCBCMD.EDU)
Date: 07/31/03
- Previous message: James Jackson: "Re: mailing output"
- Maybe in reply to: Shawn Bierman: "mailing output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 31 Jul 2003 11:06:55 -0400 To: aix-l@Princeton.EDU
I had this problem in a rexx script and had to remove the spaces from my
"subject" for a quick fix.
Brian H. Black , Systems Engineer
Community College Of Baltimore County
V-Mail 410-455-4908
E-Mail bblack@ccbcmd.edu
http://www.ccbcmd.edu
"Don't Look where you fell, look where you slipped"
> -----Original Message-----
> From: Shawn Bierman [mailto:BiermanS@METHODISTHEALTH.ORG]
> Sent: Thursday, July 31, 2003 10:45 AM
> To: aix-l@Princeton.EDU
> Subject: mailing output
>
>
> Greetings,
>
> I am having a bit of trouble with a script that should email
> root the output of a command but also have a subject line.
>
> Currently we just run the command from cron and it gets sent
> to root's email but with a subject line. So, I thought i
> would make a script that added the subject.
>
> I was hoping for something as easy as:
>
> mail -s"subject line" root | ls -la
>
> even when I output the command to a file and then try to
> redirect I get failures.
>
> mail -s"subject line" root < somefile
>
> mail complains of unknow users 'subject' and 'line'.
>
> Is there a simple way?
>
- Previous message: James Jackson: "Re: mailing output"
- Maybe in reply to: Shawn Bierman: "mailing output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Problems trying to configure Linux laptop to print to Windows XP shared printer
... map to guest = Never ... check password script = ... enumports
command = ... ldap delete dn = No ... (comp.os.linux.setup) - Problems trying to configure Linux laptop to print to Windows XP shared printer
... map to guest = Never ... check password script = ... enumports
command = ... ldap delete dn = No ... (comp.os.linux.setup) - Re: MATLAB Code for a stop process button which ex
... especially in the while loop(for each script command starting in the ... % varargin
command line arguments to stop_button ... % line_num is the order of execution. ...
msgno = msgno+1; ... (comp.soft-sys.matlab) - Re: smb service fails to start in FC5
... here's the output from the testparm -v command: ... map to guest = Never
... check password script = ... ldap delete dn = No ... (Fedora) - Re: Why doesnt foreach return a value
... say that Tcl evaluation does not return to the script if an ... They return
an EMPTY value. ... of the command) as the name of a command, that we happen to
have just ... It invokes the expression evaluator to handle the ... (comp.lang.tcl)