Hi
I have a script that is sending mail and it was working fine. But the last time it run, it gave some errors. It look like the subject was split into many receiver. I am on AIX 6.1.
The output was redirected in a log file. Here is what was found in that log file:
I received the mail but the subject was only "Starting"
It is like the double quote was ignored and mail was thinking that "hci_stop on ${NOMMACHINE}" where the receivers.
Any ideas ?
Thanks
Last edited by Scrutinizer; 09-17-2015 at 04:55 PM..
Reason: Please wrap commands and data in CodeTags
Dear All:
I want to send a message to a list of people with a subject and an attachement, currently I am using the following command into a shell script:
uuencode $FILENAME.gz $FILENAME.gz | mail john.kennedy@mycompany.com m.m@mycompany.com
With this command I can send the message for a... (1 Reply)
I am new to this site so please bear with my ignorances.
I have started playing with mail on AIX 4.3.3 with many successes (thanks to this site) but am now stuck.
I want to send a mail with the subject as the result of a script, eg. I want the mail body to read as the output from 'df -k... (4 Replies)
Hi,
I am trying to send some file to some mail ids using mail command in UNIX.
Now the issue is I am not able to find how to add "Subject text" to the command.
So I am using command like
"mail abc@yahoo.com < file_name"
Now if I use simple mail command I can set subject text by using... (2 Replies)
Hi,
I have a complicated requirement.I need to search for a particular pattern in the subject of incoming mail to a set of users and need to save the content of the mail in a file which will be uploaded to a file server.
I have a perl script to do the upload.I need a script to sort the mail... (2 Replies)
Hi
Am fetching a weekly report pf data..once i fetched the data i need a sent report by mail.
In the subject of that mail i want to sent a message like..
SUBJECT :The report had been fetched from (01/12/08 to 07/12/08).
I need to send a report like this every week with that particular... (2 Replies)
Hi,
I have a cron job that creates backups nightly and sends me an email with output from the script. I'm recieving the email and the output; however, the subject field is always empty. Here is what I have in my crontab
00 23 * * * sh /test_backup/test_script | mail -s "Backups"... (2 Replies)
HI,
After giving the mail -e name@domain.com its asking the subject : after this its enter in to the body of the mail i.e. (in edit mode)
How to end this edit process to send mail ? (2 Replies)
Hi Team,
I coded my code to send mail to some reciepents with subject and date.
Can somebody suggest me how to add host name to subject ? and the below code is correct for date ?
my aim is to send mail with "subject in < hostname> on <date>".When i execute this script on my server its hung... (3 Replies)
Hi,
I have below script
PROJECT_NAME=UDL/UDL_Weekly
sub= echo ${PROJECT_NAME}|cut -d "/" -f2
cat pr.sh|mail -s "`hostname`: $sub failed" sonu.pal@xyz.com
While running the script I am receiving the subject line in mail as " podetlsapp01: failed' instead of " podetlsapp01: ... (1 Reply)
I have mail:
cat /home/oracle/scripts/dbsizedaily.txt | mail -s "$TODAY: PROD DB Size" $RECIPIENTS
I like to get and put USED_GB and %USED of the very last row from /home/oracle/scripts/dbsizedaily.txt.
/home/oracle/scripts/dbsizedaily.txt has :
DATE TIME TOTAL_GB USED_GB ... (6 Replies)
Discussion started by: Daniel Gate
6 Replies
LEARN ABOUT OPENSOLARIS
biff
biff(1B) SunOS/BSD Compatibility Package Commands biff(1B)NAME
biff - give notice of incoming mail messages
SYNOPSIS
/usr/ucb/biff [y | n]
DESCRIPTION
biff turns mail notification on or off for the terminal session. With no arguments, biff displays the current notification status for the
terminal.
If notification is allowed, the terminal rings the bell and displays the header and the first few lines of each arriving mail message. biff
operates asynchronously. For synchronized notices, use the MAIL variable of sh(1) or the mail variable of csh(1).
A `biff y' command can be included in your ~/.login or ~/.profile file for execution when you log in.
OPTIONS
y Allow mail notification for the terminal.
n Disable notification for the terminal.
FILES
~/.login User's login file
~/.profile User's profile file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO csh(1), mail(1), sh(1), attributes(5)SunOS 5.11 14 Sep 1992 biff(1B)