home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / editors / 2098 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.1 KB

  1. Path: sparky!uunet!mcsun!uknet!canon.co.uk!tim
  2. From: tim@crash.canon.co.uk
  3. Newsgroups: comp.editors
  4. Subject: Re: SUMMARY sending mail from shell
  5. Message-ID: <92Aug28.1237.23517@crash.canon.co.uk>
  6. Date: 28 Aug 92 11:37:12 GMT
  7. References: <1992Aug24.143011.4661@news.duc.auburn.edu> <1992Aug25.134245.3394@awdprime.austin.ibm.com>
  8. Sender: Tim F O'Donoghue
  9. Organization: me myself and i
  10. Lines: 21
  11.  
  12. I tried to mail this reply but stuart@piobe.austin.ibm.com and
  13. stuart@austin.ibm.com both bounced. I didn't have the heart to try
  14. stuart@awdprime.austin.ibm.com. Forgive me...
  15.  
  16. stuart@austin.ibm.com (Stuart R. Yoder) writes:
  17. :
  18. |As a follow up to this, is there a way to send mail from a shell
  19. |(as described above) but also copy other users on the message
  20. |( Cc: foo@bar ).  When I use the mail command interactively, it
  21. |prompts for Cc:, but non-interactively I can't figure out how
  22. |to copy users on a message.
  23.  
  24. What about just specifying multiple recipients on the command line:
  25.  
  26. mail -s whatever user foo bar...<<EOF
  27. blah
  28. EOF
  29.  
  30. Tx.
  31. --
  32. check my header - "when the time runs out... when the money runs out..."
  33.