10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I executed my script in linux environment so Here Im facing problem.In linux has mailx command but if i include in following way Im getting error like ./script2.sh: line 6: mailx: command not found.
if I use mail command also Im getting same error.
$ cat script2.sh
while ps | ./pwtst
do... (5 Replies)
Discussion started by: ksrivani
5 Replies
2. UNIX for Dummies Questions & Answers
hi All,
i want to email to abc@abc.com which will be in "to" and to def@def.com which will be in "cc".
i tried like this:
mailx -s "Total Collection" abc@abc.com -c def@def.com
but i took error :(
How can i success?
Thanx so much.
---------- Post updated at 08:19 AM... (1 Reply)
Discussion started by: temhem
1 Replies
3. Shell Programming and Scripting
I've this command to run ...
Purpose : Send attachment file with e-mail body...
( E-mail body i read it from text file)
uuencode TEST_FILE.csv TEST_FILE.csv | cat /usr/local/bin/EMAIL_BODY.txt - | mailx -s "TEST Report" -c receiver1@mail.com receiver2@mail.com
Here is the... (2 Replies)
Discussion started by: prash184u
2 Replies
4. Shell Programming and Scripting
Hi Experts,
Just need help maybe you have some time to spare :)
I am having trouble creating a working script that will scan a file and mail specific persons
I need to mail 5 persons person1,person2,person3,person4,person5
Person1,person2 I need to put them in the TO: field while... (0 Replies)
Discussion started by: makaveli
0 Replies
5. Solaris
We are running solaris 9.
I can send emails using mailx with no problems.
I can send attachments using uuencode no problems.
What I can't do is change the name to .txt or .doc or anything else using uuencode. The command I am using is:
uuencode /tmp/AsetReports /tmp/AsetReports.doc | mailx -s... (2 Replies)
Discussion started by: zeekstern
2 Replies
6. Shell Programming and Scripting
I have a problem with an awk command.
I have a expect script running on one node that is executing a command on another node.
Both nodes are Linux.
The script on the remote node is supposed to check a couple of logs after "type" notifications.
I am using tail and awk to do that.
The env... (6 Replies)
Discussion started by: unakon
6 Replies
7. UNIX for Dummies Questions & Answers
I can send mail from my Sun Solaris 9 box via the mail gui no problem. If I try it from mailx command line, the mail doesn't send. What might be causing this?
thanks. (5 Replies)
Discussion started by: FredSmith
5 Replies
8. UNIX for Advanced & Expert Users
Hi unix lovers,
I have some problem with using mailx. I want to send mail as per the instructions in a file. The mail does not reach to CC recepients.
To get a clearer picture, this is what I am typing on unix prompt.
$
$ mailx ashishp@suntech.com < mail.txt
$
And my mail.txt looks... (7 Replies)
Discussion started by: shriashishpatil
7 Replies
9. UNIX for Dummies Questions & Answers
Is there a size limit on the file that can be sent using mailx?
I'm trying
mailx -s "alertlog" tome@work < /dir/my.log
and I only get a portion of the log. The newest portion of the log is not included in the mail.
Additionally, I would like the option of mailing just the last 100... (1 Reply)
Discussion started by: djbartkow
1 Replies
10. UNIX for Dummies Questions & Answers
Here is a question I have, maybe someone can help me out. I am new to this UNIX thing. :)
I have a file called elist. In this file is a list of 25 email adresses. How can I write a simple command line for that will read the names of the file and send it to each of the email addys. Can I... (2 Replies)
Discussion started by: iastorms
2 Replies