Sending to multiple addresses

Introduction to UNIX/Linux (70037) - Jim Griffin
Forum rules
Be nice to each other!
Locked
User avatar
sean norman
Posts: 5
Joined: Wed Sep 08, 2010 9:14 am

Sending to multiple addresses

Post by sean norman » Thu Feb 24, 2011 11:31 am

Is there a way to send one message to multiple recipients?

I tried:

$ mail name, name 2, name 3
subject: Blah
sdofknsdofsodkfklsndf
cc:

but it told me "/home/cis90/normasea $ /home/cis90/normasea/dead.letter... Saved message in /home/cis90/normasea/dead.letter"

I'm guessing this is an error message.

EDIT: I tried semi colons as well but no luck.

User avatar
Thaddeous_Arnsdorf
Posts: 10
Joined: Wed Feb 09, 2011 2:38 pm

Re: Sending to multiple addresses

Post by Thaddeous_Arnsdorf » Thu Feb 24, 2011 6:04 pm

Hello,

One space and no comma between recipients is how it worked for me.

prompt $ mail
& m name1 name2 name3
Subject: Testing

thank you
.
CC:


Hope that helps.

User avatar
Jim Griffin
Site Admin
Posts: 340
Joined: Tue Jan 12, 2010 8:52 pm
Location: Cabrillo College
Contact:

Re: Sending to multiple addresses

Post by Jim Griffin » Sat Feb 26, 2011 1:58 pm

Thaddeous_Arnsdorf wrote:Hello,

One space and no comma between recipients is how it worked for me.

prompt $ mail
& m name1 name2 name3
Subject: Testing

thank you
.
CC:


Hope that helps.
That's it. Both the shell and themail program, and most other UNIX utilities use whitespace to parce a command line, not comma,separated,values.

Jim G.

Locked

Return to “CIS 90 (classroom) - Spring 2011”