1 # test spost: bcc and dcc headers
6 draft="$MH_TEST_DIR/spost-$$.draft"
8 profile="$MMH/profile-spost"
10 cat "`mhparam profile`" - >"$profile" <<!
11 default-from: Bob <bob@example.org>
14 export MMHP="$profile"
22 Date: Sun, 25 Oct 2015 18:59:56 +0100
28 runandcheck 'spost -debug "$draft"' <<!
31 Date: Sun, 25 Oct 2015 18:59:56 +0100
33 From: Bob <bob@example.org>
49 Bcc: john, paul, george, ringo
50 Date: Sun, 25 Oct 2015 18:59:56 +0100
56 runandcheck 'spost -debug "$draft"' <<!
58 Date: Sun, 25 Oct 2015 18:59:56 +0100
60 From: Bob <bob@example.org>
74 Bcc: john, paul, george, ringo
75 Date: Sun, 25 Oct 2015 18:59:56 +0100
81 runandcheck 'spost -debug "$draft"' <<!
82 Date: Sun, 25 Oct 2015 18:59:56 +0100
84 From: Bob <bob@example.org>
85 Bcc: undisclosed-recipients:;
98 Dcc: john, paul, george, ringo
99 Date: Sun, 25 Oct 2015 18:59:56 +0100
105 runandcheck 'spost -debug "$draft"' <<!
107 Date: Sun, 25 Oct 2015 18:59:56 +0100
109 From: Bob <bob@example.org>
125 Dcc: john, paul, george, ringo
126 Date: Sun, 25 Oct 2015 18:59:56 +0100
132 runandcheck 'spost -debug "$draft"' <<!
133 Date: Sun, 25 Oct 2015 18:59:56 +0100
135 From: Bob <bob@example.org>
136 Bcc: undisclosed-recipients:;