'Morning :),

Michael Convey <[email protected]> wrote:
 |On Fri, Oct 9, 2015 at 11:09 AM, Steffen Nurpmeso <[1]sdao\
 |[email protected][/1]> wrote:

 |You could say "-c 'r1   ,     r2    , r3      '" and it's a bug if
 |that doesn't work.
 |
 |​I tested this (in mailx)​ and spaces cause an error as follows:
 |
 |# mail -s 'test bcc' -b root , lab lab2

Well of course there is the shell in between this line and and the
command-line mailer of your choice, and so proper shell quoting is
necessary -- note the single quotes that sourround the r1,r2
above.  I.e., we want the two buttcheeks of princess popoo from
the junk thread to remain pressed together with passion initially.

 | |The short answer is: maybe use -c multiple times instead, that
 | |worked already with BSD Mail 8.1[.1] from 1996-06-14.
 |
 |​That works, as follows: 

 |Thanks for all your guidance. 

One improvement of S-nail i really like very much is that using the
-d debug command line switch (or setting the internal *debug*
variable) causes a complete dry-run -- no messages are sent,
nothing is saved to files (including sent-mails storage) etc.:

  ?0[sdaoden@wales]$ echo body|
  s-nail -d -Ssendmail=x -ssubject -c 'A <b@c> , D <e@f> (g)' h@i
..
  >>> MTA: "x", arguments: "sendmail" "-i" "--" "b@c" "e@f" "h@i"
  >>> Date: Sat, 10 Oct 2015 13:37:42 +0200
  >>> To: h@i
  >>> Cc: A <b@c>, D <e@f> (g)
  >>> Subject: subject
  >>> User-Agent: s-nail v14.8.5-97-gb5fe05e-dirty
  >>>
  >>> body

It is much easier to play around and learn like that.  Or simply
checking changes of the configuration file.  Etc.
Have a nice weekend. :)

--steffen

------------------------------------------------------------------------------
_______________________________________________
nail-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nail-devel

Reply via email to