I'm finding that a call to the mail command is causing a script to suspend without error. To close the script I have to ctrl-c or issue a kill command on the process id.
Hello Unix lovers,
I want to know if I can have mailx on linux. I am using redhat 6.
My sys admin says that mailx is not availble on linux. I see on my linux system mailx is just a link to /bin/Mail program.
I want to install mailx just as it is availble on soaris/HP.
Hello,
I want to send an email from unix. I tried following commands:
Code:
mailx -s "hello" manish.xxx@xxx.com < echo_manish
and
Code:
echo "Testing Mail" | mailx -s "hello" manish.xxx@xxx.com
but in both the commands nothing is happening. I mean it is neither giving any error nor I am receiving email.
Please help.
I recently installed 11.2. I first noticed that cron was not sending mail. I then found that I could not send mail with mailx. Postfix is running and handling external email perfectly. Nothing ever appears under /var/spool/mail. Mail sent by mailx just seems to disappear - no errors are reported.
I never had this problem over many years using earlier versions of Suse
Hi Guys,
Am tried with the mail & mailx command to send mail to other localhost machine, Which are all connected in a LAN. I can not able to send, Either it wont display any error message at that time and later am receiving a failure mail.. But i can send and receive (from-to) in my machine.. What is the problem with that? Shall i need to configure any packages for this.??
HI experts,
By using mailx command i can send mails to any email id. and my DNS is like
oper@xyz.com ..... but if someone replied to the mail sent earlier using mailx command. then how to recieve or view that mail ...
Is dre any command to do the same ... Im working on some project and got stucked in this scenario. any help appreciated.
Plz do reply with the program/example ....
Hi,
I would like to clean up by unix mail mail box thru some script command.. I do know how to delete from mail box ...
e.g.
$ mail
? d*
? quit
But I need to clean up thru some command which I can use in my script before sending any email..
Thanks in advance!
Hi,
I am using Sun solaris OS unix server
I am trying to send mail with an attachment using below script
Code:
cat test.txt;uuencode test.txt test.txt|mailx -s "$subject" someone@somewhere
I m getting mails but with no attachment.
Hence i manipulate the script as below and i am getting the mail with attachment
Code:
cat test.txt;uuencode test.txt test.txt|mail someo
Hello all, I have a requirement to send an email from a shell script. Simple enough. A google search gives thousands of examples. But here's the catch.