hi,
I have tried this code to send mail.Its not giving me error but I am not receiving mail also.
#!/bin/ksh
echo "The first mail" >msg
cnt=`cat /dir1/msg | wc -l`
if
then
mail -s "Hello" abc.xyz@domain.com < msg
fi
I have also tried with the command
mailx -s "hello"... (0 Replies)
Hi,
I have been trying to send a mail from a remote site using this script
To send the mail:
#!/bin/ksh
MAILTO="abc@xyz.com"
BACKUPDIR="/wls_domains/wli81_1/RHTEAM/OUTPUTBACKUP/"
#BACKUPDIR="../OUTPUTBACKUP/"
while ; do
print $1
uuencode $1 $1 | mail $MAILTO
... (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)
Hey guys i got this error my logs
- I ping 127.0.0.1 and it says that its alive
- I checked sendmail and it is running
- I tried to send a test email but nothing happens it seems that it hangs
- What is the possible cause of this? (5 Replies)
hi all
i got two server, mercury and procyon
mercury can send email but procyon cannot
below is their syslog
mercury:
Jul 6 13:17:17 mercury sendmail: n665HGXg006886: to
=<leecw@domain.com>, ctladdr=<ora10g@mercury.domain.com> (4001/101), d
elay=00:00:01, xdelay=00:00:01,... (7 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 have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
Hi All,
I am trying to send a mail from linux server but could'nt able to send the mail.
I tried the below syntax's so far but no luck.
mail -s “Hello world” abc@xyz.com < /usr/g/txt.log
cat "txt.log" | mailx -s "Hello world" abc@xyz.com
mailx -s “Hello world” abc@xyz.com <... (2 Replies)
Hi friends
I am trying to send mail through a unix server.
I am using following command
mailx -s "THIS IS TEST" jhon@gmail.com
Whenever i am typing the above command it is going to next line when i press @ on unix server prompt.
so it is taking this command as following
mailx -s "THIS... (3 Replies)
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
LEARN ABOUT ULTRIX
msgchk
msgchk(1mh)msgchk(1mh)Name
msgchk - check for messages
Syntax
msgchk [ -help ] [ -nodate ] [ -notify all|mail|nomail ] [ users ... ]
Description
The 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.
Options-help Prints a list of the valid options for this command.
-date
-nodate Prints the date when you last read your mail. This is the default behavior of The -nodate option can be used of you do not want
to print this date.
-notify
-nonotify Indicates under what circumstances 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.
-source file
Specifies the source which are checked for mail. The only value allowed is file, which is the user's maildrop. Additional val-
ues are supported only for use with other mail systems.
Restrictions
does not understand the $MAILDROP environmental variable. If mail is fetched from a location other than will not be able to determine if
new mail has arrived. However, 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 88 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 13:22:
25 WET
Jones:
New file source mail waiting ; last read on Tue, 07 Jun 17:30
:05 WET
Files
The user profile.
The system customization file.
The user's maildrop.
See Alsoinc(1mh)msgchk(1mh)