It is working fine that's why it won't show any error...
try to give some real email address and check...
I tried with real address only and its not sending the mail option. Am getting the file not found error can you pls let me know what is the usage of using "<file" at the end. Error:
Last edited by Scott; 08-13-2012 at 09:40 AM..
Reason: Code tags
I use maix command to sent mails.
i can sent only plain text mails.
Unable to sent mails in html format.
while sending mails in html format, the received mail has the html code only. (17 Replies)
Hi:
I have a script with the next command line
>set a=(grep -w "something" textfile.txt | grep -w "anotherthing" | cut -c1-11)
In the file textfile.txt there are some file names and their paths so when I use this command line it returns a path, for example /directory, and stores in a.
... (3 Replies)
Hi All,
Can you please help me in solving this. I am facing some problem sending mails.
If I use like this, I am able to send mail the mail
echo "This is an automated e-mail; please do not reply." | mailx -s "Good Morning ." 'abc@xys.com'
But if I use like this, then I am unable to send... (1 Reply)
I have written a script for sending automated email, reporting the running status of a cron scheduled work. Now, the issue is, my Project Manager wants, the mail should be received with HIGH IMPORTANCE.
How can I do that, kindly anybody explain.
Thank you so much. (3 Replies)
I am looking to change a data file into a javascript string and this is the code that I am using:
sed -i '' -e 's/^/str += "/' -e 's/$/";/' file.xml
The first part
-e 's/^/str += "/'
works as intended, but the second part
-e 's/$/";/'
adds an additional newline to my file, so that instead of... (3 Replies)
Hello,
I'm having a problem with my mail. When I send mail, it takes a long time for the send to complete.
In the below, datestamp is just a simple script to put in a no-white-space date/time stamp.
$ datestamp ; mail woodnt; datestamp
02-05-10@193844
Subject: test
timer
Cc: ... (0 Replies)
I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing
set
you can also use them "on the command line when running a script..." and it lists this in a small table:
set -o option Command Line... (5 Replies)
I understand that the SED command reads all the lines in the file before adding a required line to the end of the file.
Is there another command that adds a line to the end of files without reading the entire file....
SED is increasing the processing time as the number of lines in each of the... (1 Reply)
I am unable to cause the 'mail' command to send mail from my linux ubuntu 15.10 computer. File 'mail.log' typically reports Connection timed out.
I issue the command:
mail -s "my subject" recipient@domain.com < filenamewhere filename is a file containing my message.
Specifically, the... (3 Replies)
Discussion started by: tcnm
3 Replies
LEARN ABOUT OSF1
msgchk
msgchk(1) General Commands Manual msgchk(1)NAME
msgchk - check for messages (only available within the message handling system, mh)
SYNOPSIS
msgchk [-help] [-nodate] [-notify all | | | mail | | | nomail] [users ... ]
OPTIONS
Prints a list of the valid options for this command. Prints the date when you last read your mail. This is the default behavior of msgchk.
The -nodate option can be used of you do not want to print this date. Indicates under what circumstances msgchk should produce a message.
There are three legal values: all, mail, and nomail. The default is -notify all, which reports the status of the maildrop regardless of
whether it has mail in it or not. The -notify mail option reports the status of the maildrop only if there is mail waiting. The
-notify nomail option reports the status of the maildrop only if there is no mail in it. Specifies the source which are checked for mail.
The only value allowed is file, which is the user's maildrop. Additional values are supported only for use with other mail systems.
DESCRIPTION
The msgchk program checks all known mail drops for mail that is waiting for you. It displays whether you have mail waiting to be read or
not and shows the date that you last read your mail.
You can check other user's maildrops by specifying their user names as the users argument on the command line.
RESTRICTIONS
msgchk does not understand the $MAILDROP environmental variable. If mail is fetched from a location other than /usr/spool/mail/$USER,
msgchk will not be able to determine if new mail has arrived. However, inc can still be used to fetch mail when it arrives.
For this version, the -source option only supports the value file. Additional values are supported for use only with other mail systems.
EXAMPLES
This example shows a user Smith checking his own maildrop: % msgchk Smith:
New file source mail waiting ; last read on
Tue, 07 Jun 1988 17:21:49 WET The next example shows a user checking the maildrops of two other local users on the same system, Rabb
and Jones: % msgchk Rabb Jones Rabb:
No file-source mail waiting ; last read on
Tue, 07 Jun 1997 13:22:25 WET Jones:
New file source mail waiting ; last read on
Tue, 07 Jun 1997 17:30:05 WET
FILES
The user profile. The system customization file. The user's maildrop.
SEE ALSO inc(1)msgchk(1)