View Single Post

   
  #2 (permalink)  
Old 02-15-2008, 02:05 PM
Brian K. White
 
Posts: n/a
Default Re: using blind copy

corrlens wrote:
> What's the command line to send an email and use the blind copy
> function ?
>
> If I want to send a file to 50 people but all of them be included in
> the bcc.
>
> cat message.txt | mail bla bla bla bla bla
>
> Is there an argument for this purpose ? like mail -bcc bla bla ble
> bli blo blu,,,etc..
>
> Regards,
>
> EA


The answer is you need to either generate the email file yourself and
include a bcc: header and feed the file to sendmail, or you need to install
and use some other mua besides /bin/mail, like mutt or pine which are both
available from skunkware.

"man mutt" shows it has the option and it is "-b user@host.com" however it
does not show how to specify the plain old regular recipient or how to send
a basic mail non-interactively. However, "mutt brian@aljex.com
</etc/profile" did in fact work, so although the man page doesn't say it,
it appears to be as easy to use as plain /bin/mail, just with extra options.

--
Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani


Reply With Quote