mailx and mail list help - newbie qustion

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers mailx and mail list help - newbie qustion
# 1  
Old 02-09-2004
mailx and mail list help - newbie qustion

I have a basic question - how do I create and then use a mail list to be able to send a mailx email to multiple recipients.

I assume I create a test file using vi, containing the email addresses - but what is the format - are the addresses separated by ";", or by spaces, ....???

Is there a naming convention to save the mail list ?
and finally, how do I use this in the mailx command.

I have searched the INTRO to UNIX textbook we have, searched this forum, and read the man command for mailx and can't seem to find this info.

Thanks for any help

my unix email :

:: email removed ::

removed email address

Last edited by oombera; 02-09-2004 at 01:29 PM..
# 2  
Old 02-09-2004
Sorry, I had to remove your email address. Answers to questions should stay in the forums; it's for the benefit of anyone with a similar problem in the future.

Check out these posts:

And also check out the How do I send email? faq forum too; plenty of useful info there! Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Problems sending mail: Difference between Mail and Mailx?

Whats the difference between mail and mailx? I'm trying to troubleshoot a problem where I can send mail from server A with this `echo $MESSAGE | mail -s "$SUBJECT" -r $FROM $RECIPIENTS` command but executing the same command from server B throws me this error (Both servers are RHEL) ... (1 Reply)
Discussion started by: RedSpyder
1 Replies

2. Shell Programming and Scripting

Not able to send the mail using mail and mailx command

Hi All, I am trying to send a mail from linux server but could'nt able to send the mail. I tried the below syntax's so far but no luck. mail -s “Hello world” < /usr/g/txt.log cat "txt.log" | mailx -s "Hello world" mailx -s “Hello world” <... (2 Replies)
Discussion started by: scriptscript
2 Replies

3. Shell Programming and Scripting

Send mail using mailx to CC only, not TO

Hi All, I am using mailx to send the mail. Due to some changes in the requirement, I need to send the mail to CC only (an Email id in CC), with no email ID in "TO" field. Can we do that? bcz I used -c flag only and got the message:":The flags you gave make no sense since you're not sending... (2 Replies)
Discussion started by: unankix
2 Replies

4. UNIX for Dummies Questions & Answers

mailx, why all my mail goes to mailq?

Hi, I sending mail like this: mailx -s "test" -r "" and I have update the /etc/mail/ with: (this path is working on the old server) But all I mail goes to queue. What do I miss here? Regards Mehrdad (1 Reply)
Discussion started by: mehrdad68
1 Replies

5. Shell Programming and Scripting

sending mail through mailx

while trying to send a mail, though the output file doesn't contain any exclamatory mark(!), i am getting that in the mail with an extra line. please help me out from this ASAP. (3 Replies)
Discussion started by: pvamsikr
3 Replies

6. UNIX for Advanced & Expert Users

mailx commannd - Mail and Attachment in same mail

Hi , I am using mailx command for sending the mails. Rightnow I am sending the attachment (by using uuencode $filename) as a seperate mail.I wanna send the attachment also with the same mail. (6 Replies)
Discussion started by: sharif
6 Replies

7. UNIX for Dummies Questions & Answers

mail or mailx attachment

I have used the forum to determine the format required to send attachments from hp-ux 11. the problem I have is that using mailx does not attach the file, but subsititing mailx for mail on the command line attaches the file but i'm not able to specify a subject? The attachment has been convert... (3 Replies)
Discussion started by: brettmartin99
3 Replies

8. Programming

another qustion about fork

hi there this program runs but i m jus trying out a few things here to have an indepth knowledge about different possibilities. can someone comment on this please. #include<stdio.h> #define DIM 8 int main() { int pid, i, ans; int arr = {1,2,3,4,5,6,7,8}; ... (2 Replies)
Discussion started by: a25khan
2 Replies

9. UNIX for Dummies Questions & Answers

Specify Mail server in mailx

Dear All, I am using HP-UNIX. I want to specify host in mailx command line. A -> B I am in Server A. And run a mailx command line to send mail to But Server A don't know where is. It needs to send this mail to Server B to help him to send mail to... (1 Reply)
Discussion started by: wilsonchan1000
1 Replies

10. UNIX for Dummies Questions & Answers

Newbie - Sending Mail

Hi all, I've been succesful is sending mail (SCO box) using mail to one(1) person. ie - mail -s "CPU Monthly Report" < $xcpudata. But how does one send mail to a number of persons? Cheers, Cameron (3 Replies)
Discussion started by: Cameron
3 Replies
Login or Register to Ask a Question

Featured Tech Videos