now you've correct script. you need to check smtp for mail sending/receving from that box. you may just check mails simply by sending mail from prompt. if you recive then we can look @ script otherwise need to work in that area..
good luck & post if any errors.
Testing mail :
mailx -s "Difference of files" ss@cs.com < press enter >
Enter some text
^d
I did has you said but still i'm not getting any mails.As you said,i think some configuration has to be done with SMTP.Can you please give me more details on that...i'm working on SunOS.
Hello,
We are using exchange server in our environment. I need to configure mailx to send email from Solaris box to one mail I'd which is on exchange server. I know ip of exchange server.. Let me know where should I configure that ip to do the needful? (2 Replies)
Using RHEL 5.5
New to using 'mailx'
Was trying to check if mailx is configured.
mailx command gives a list of unread mails.
Now I tried to send mail using this command to a local or on network machine using
mailx -s "Test2" "root@<servername>"
But did not receive any message. (6 Replies)
( cat textfile.txt; ) | mailx -s "test mail " `cat mailids.lst`
from :'server@example.com'
to : for all contacts in text file mailids.lst
above command is sending mails correctly for all contacts in text file mailids.lst, but 'from' address is showing as 'server@example.com' but i want... (5 Replies)
Hi,
I need to configure customized from address in mailx command.
Can you pls tell me the option for configuring from address.
Thanks
Latika (9 Replies)
Dear all,
Every time if i use mailx it is asking for entering the From Address.
I want to set it in some place, So that it will take it by default whenever we send mails.
Pl help on this.
Regards
JeganR (2 Replies)
HI All,
I have an unix server , where sendmail command works for sending mail.
But if i use mailx command it is not working.
Is there any specific settings needed for this.
Kindly help.
Thanks and Regards
Rj (1 Reply)
Hi All,
Can anyone please provide the command for sending an mail with attachment using mailx command.
Thanks in Advance :)
Regards,
Siram. (3 Replies)
hi,
I would like to configure mailx or sendmail to send out some mails to some users. I tried searching online for the configuration but it was kinda confusing. I thought that posting here might get someone to work with me step by step
I tried sending out mail but i did not receive in my... (4 Replies)
Hi,
This post is regarding sending mails from Unix. How can we include "bcc" in a "mailx" command. I searched google to find out the -b option; but my man pages doesnot show that option(it throws me an error: "-b not found"). It has a "~b" option but i am not sure how to use it. Could you people... (2 Replies)
Hi friends,
i have seen the following line in some unix shell script .
can some one explain me what exactly the statement is meant for ?
=========================================================
mailx -s " Master Data Transmission Report for $TODAY at $TIME " < /etc/tr/tmp/$tmplog... (5 Replies)