how to email multiple recipients
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > how to email multiple recipients




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    how to email multiple recipients  
nobody


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-07-07 06:32 PM

this might be a easy question but i got after i run this command

command | mail user@domain.com

this works

but command | mail user1@domain.com user2@domain.com

does not work

any idea?







[ Post a follow-up to this message ]



    Re: how to email multiple recipients  
Michael Vilain


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-07-07 06:32 PM

In article <fbs2lb$kc4$1@news.Stanford.EDU>,
"nobody" <nobody@nobody.com> wrote:

> this might be a easy question but i got after i run this command
>
> command | mail user@domain.com
>
> this works
>
> but command | mail user1@domain.com user2@domain.com
>
> does not work
>
> any idea?

try

command | mail "user1@domain.com user2@domain.com"

--
DeeDee, don't press that button!  DeeDee!  NO!  Dee...








[ Post a follow-up to this message ]



    Re: how to email multiple recipients  
Doug Freyburger


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-08-07 12:36 AM

"nobody" <nob...@nobody.com> wrote:
>
> this might be a easy question but i got after i run this command
>
> command | mail u...@domain.com
>
> this works
>
> but command | mail us...@domain.com us...@domain.com
>
> does not work
>
> any idea?

I use mailx instead of mailx and send to either space separated
or comma separated lists.






[ Post a follow-up to this message ]



    Re: how to email multiple recipients  
Chris F.A. Johnson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-08-07 12:36 AM

On 2007-09-07, nobody wrote:
> this might be a easy question but i got after i run this command
>
> command | mail user@domain.com
>
> this works
>
> but command | mail user1@domain.com user2@domain.com
>
> does not work

What does "does not work" mean? What does happen?

Do you get any error messages? IF so, post them.

That command would work with every version of mail I have seen,
though sometimes the command would be mailx rather than mail.

--
Chris F.A. Johnson, author   |    <http://cfaj.freeshell.org>
Shell Scripting Recipes:     |  My code in this post, if any,
A Problem-Solution Approach  |         is released under the
2005, Apress                 |    GNU General Public Licence





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:21 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register