Not really. Not all flavors of UNIX support it with "mail"...
>>> OKeefe <[Email Address Removed] 10/16/03 09:56AM >>>
Duh ... you can also use mail -s "my subject" <filename , sorry.
----- Original Message -----
From: "OKeefe" <[Email Address Removed] "Jeff Preston" <jeff.[Email Address Removed] "LazyDBA.com Discussion"
<[Email Address Removed] Thursday, October 16, 2003 3:49 PM
Subject: Re: unix mail
> It might be better to use mailx instead of mail
>
> mailx -s "This is my subject" email_address <filename
>
> ----- Original Message -----
> From: "Jeff Preston" <jeff.[Email Address Removed] To: "LazyDBA.com Discussion" <[Email Address Removed] Sent: Thursday, October 16, 2003 3:14 PM
> Subject: unix mail
>
>
> > Does anyone know how to send a file from unix with a subject line .
> >
> > I have crontab jobs that run sql scripts and output to log files and the
> job
> > sends me the logfile. using the mail command, but I can't get it to
place
> a
> > subject line.... so I get all these emails from the oracle user but with
> no
> > subject line....
> >
> > I am currently using the following
> >
> > mail email_address < filename
> >
> > I've looked everywhere but can't figure out how to get a subject line in
> > there.
> >
> > Thanks
> >
> > Jeff Preston
> > Senior Programmer/Analyst
> > Information Systems
> > City of Moncton
> > (506) 856-4340
> >
> >
> >
> > --------
> > Get today's cartoon: http://www.LazyDBA.com
> > Please don't reply to RTFM questions
> > Oracle documentation is here: http://tahiti.oracle.com
> > To unsubscribe: send a blank email to oracledba-[Email Address Removed]
> > To subscribe: send a blank email to oracledba-[Email Address Removed]
> > By using this list you agree to these
> terms:http://www.lazydba.com/legal.html
> >
>
--------
Get today's cartoon: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: send a blank email to oracledba-[Email Address Removed]
To subscribe: send a blank email to oracledba-[Email Address Removed]
By using this list you agree to these terms:http://www.lazydba.com/legal.html
Oracle LazyDBA home page