Afficher un message
Vieux 26/03/2008, 01h47   #3
Gary Johnson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: send a mail with copies only with shell

someusernamehere <someusernamehere@gmail.com> wrote:
> There is a way for send mails only with shell commands?, I mean I know
> how to send with mutt -c user@copy.com -s "subject" user@foo.bar
> its possibly only with sendmail or whatever send a mail with:
>
> * a desired subject (foobar for example)
> * a Carbon copy (Cc) destinator
> * a shadow copy (Bc) destinator
> * reading the content of a file for the body (e.g. /home/user/foo.txt)


You can do this with mutt. Mutt doesn't have to be used in interactive
mode.

mutt -b user@blind.com -c user@copy.com -s "subject" user@foo.bar < /home/user/foo.txt

--
Gary Johnson
  Réponse avec citation
 
Page generated in 2,15045 seconds with 9 queries