07-12-2007
About Mailx command
i am using the simple mailx command in my sun OS unix
for example:
mailx -s "Subject" "Message" "Mail Address" | "mail DL"
Thanks,
Siva.P
Bangalore
10 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
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. 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
6. 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
7. UNIX for Dummies Questions & Answers
Hi,
I have written down a script and in that im using mailx command in Unix.
Such that i have taken the reciepent that would be in "To" using read command i.e from standard input and echoed the reciepients in cc into a file .Now im not able to use the mailx -r ie which sends the sender... (1 Reply)
Discussion started by: navjotmannan
1 Replies
8. Shell Programming and Scripting
I am writing a script to send an email of the result of the process but i cannot make the cc work correctly.
RECIP="abc@example.com def@example.com"
CC="ghi@example.com jkl@eaxmple.com"
mailx -s "testing" -c $CC $RECIP < inputfile.txt
Result:
To: abc@example.com; def@example.com;... (4 Replies)
Discussion started by: The One
4 Replies
9. Solaris
Hi all,
I issued the following
mailx -s "TEST" <mail>
However it just hang there. :wall:
How do i diagnose why it behave like this?
Thanks.
---------- Post updated at 02:20 PM ---------- Previous update was at 10:27 AM ----------
No reply on this. Any help will be appreciated. I'm... (2 Replies)
Discussion started by: beginningDBA
2 Replies
10. 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
LEARN ABOUT SUSE
mlmmj-send
mlmmj-send(1) General Commands Manual mlmmj-send(1)
NAME
mlmmj-send - send mail to a mailinglist or similar
SYNOPSIS
mlmmj-send [-L /path/to/list | -l listctrl] -m /path/to/mail [-a] [-D] [-F] [-h] [-r] [-R] [-s] [-T] [-V]
-a: Don't archive the mail
-D: Don't delete the mail after it's sent
-F: What to use as MAIL FROM:
-h: This help
-l: List control variable.
-L: Full path to list directory
-m: Full path to mail file
-r: Relayhost IP address (defaults to 127.0.0.1)
-R: What to use as Reply-To: header
-s: Subscribers file name
-T: What to use as RCPT TO:
-V: Print version
DESCRIPTION
This binary is used to send all kinds of mail to mlmmj managed mailinglists, but can potentially be used standalone for sending mails.
The only option that is not self explanatory is the -l list control option:
'1' means 'send a single mail'
This is used together with -F and -T to send one mail to one recipient.
'2' means 'mail to moderators'
Used for sending mails to the moderators of a list.
'3' means 'resend failed list mail'
'4' means 'send to file with recipients'
'5' means 'bounceprobe'
'6' means 'single listmail to single recipient'
BUGS
This manual page is very scarce documentation of the mlmmj-send binary. The reason for this is that it's really not supposed to be used by
any human, but only supposed to be invoked from other mlmmj binaries. So in case more documentation is needed, please read the source.
AUTHORS
This manual page was written by the following persons:
Soren Boll Overgaard <boll@debian.org> (based on html2man output)
Mads Martin Jorgensen <mmj@mmj.dk>
mlmmj-send September 2004 mlmmj-send(1)