06-29-2007
How do I get the return code (success/failure)? from running the mailx command?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi folks,
My input file's content:
You are line1
You are line2
You are line3
etc...
I need to write a script that for every line, it will send an e-mail and the body will hold the line:
Output(The e-mail that will be sent):
First e-mail: To: aaa Subject: bbb Body:You are line1... (4 Replies)
Discussion started by: hellsd
4 Replies
2. Solaris
I just installed solaris 9 on a sunblade 150(sparc), and have it partitioned. I've been using ufsrestore to restore bring the config from my old system, to the sunblade. I'm not having any luck. The root directory restore seems to work. When I try to restore /usr, I get an "/usr/sbin/fsck not... (4 Replies)
Discussion started by: ECBROWN
4 Replies
3. Solaris
in ufsrestore how do i know which volume my selected
folder or file exist?. (4 Replies)
Discussion started by: S26+
4 Replies
4. Shell Programming and Scripting
Hi
I want to use mailx command to send a message included more than one file.
I tried to use uuencode in pipe but it could only generate one file.
I would avoid using an archive file :p
Thanks to read you.
Mathieu (2 Replies)
Discussion started by: madmat
2 Replies
5. Shell Programming and Scripting
Greetings all,
I'm pretty new to the use of mailx, having been using mutt most of the time. I'm interested to know how I can use mailx within a shell script to send out a formatted email with the following criterion:
1. My recipient's address is abcdef1000@gmail.com
2. The message body is... (2 Replies)
Discussion started by: rockysfr
2 Replies
6. Virtualization and Cloud Computing
Many readers have read the hype, experienced the Orwellian marketspeak, watched the positioning debates, and seen poorly managed software companies play the game of analyst-chasing (similar to ambulance chasing when you think about it). Finally, the up-to-date definitions, and hopefully a bit of... (0 Replies)
Discussion started by: Linux Bot
0 Replies
7. Shell Programming and Scripting
Hi all,
Think this is a pretty simple problem, but I've been thinking about it for a few days. Let's say that I'm going to have to output the contents of a file as the body of a mailx message.
I'll probably do this: cat <filename> | mailx <extra commands>
However, how do I go about doing... (1 Reply)
Discussion started by: rockysfr
1 Replies
8. Solaris
hi all,
ive downloaded ,built and installed coreutils from sunfreeware.com,in my quest to get the color display when ls is used(linux style)...
After the pkg is installed,how do i use ls to get the color?
I know its installed because i get a host of cmds that have been updated,l
like this,
... (1 Reply)
Discussion started by: wrapster
1 Replies
9. Shell Programming and Scripting
Hi,
I need to create one KSH which will send mail to set of recipients using "mailx" command like below.
mailx -s "Test mail" "test@yahoo.com, test@gmail.com" <$output.txt
The recipients are in different domains (like yahoo, gmail, etc.).
My requirement is, if any mail is undelivered,... (1 Reply)
Discussion started by: Matrix2682
1 Replies