![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pull E-mail address from file, send e-mail | DC Heard | Shell Programming and Scripting | 1 | 01-28-2008 11:23 PM |
| to send email to multiple users | vishwas.shenoy | UNIX for Dummies Questions & Answers | 0 | 01-25-2008 03:00 AM |
| I am not able to send mail form unix to other mail accounts. | chinnigd | UNIX for Dummies Questions & Answers | 1 | 04-06-2006 05:31 AM |
| Using mailx to send email to multiple users. | priyaksingh | Shell Programming and Scripting | 4 | 02-20-2006 10:37 PM |
| can not send mail from unix server to company/yahoo mail | b5fnpct | UNIX for Dummies Questions & Answers | 5 | 11-22-2002 06:24 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi All,
How to send mails to multiple users using a single mailx command. Urgently require help Thanks in advance Rgds Arunava |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Code:
mailx -s "Subject" recipient1@whatever.com recipient2@whatever.com < textfile Code:
cat textfile | mailx -s "Subject" recipient1@whatever.com recipient2@whatever.com Code:
LIST="recipient1@whatever.com recipient2@whatever.com recipient3@whatever.com recipient4@whatever.com" mailx -s "Subject" $LIST < textfile Code:
echo "This is my message" | mailx -s "Subject" recipient1@whatever.com recipient2@whatever.com
__________________
[url=http://chuckb.1le.net/]My website[/url] |
|
#3
|
|||
|
|||
|
you can even go as far as setting up an alias in /etc/aliases
list=foo@y0mama.com, jimbo@y0daddy.com EOF then just echo test|mailx list |
|
#4
|
|||
|
|||
|
This thread was alot of help. Thanks to all that contributed!
|
|||
| Google The UNIX and Linux Forums |