X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=test%2Ftests%2Fspost%2Ftest-bcc-dcc;fp=test%2Ftests%2Fspost%2Ftest-bcc-dcc;h=cafddaf640a42b2c6f5c6106b63627b2f53a413e;hp=0000000000000000000000000000000000000000;hb=15378d1b682670191b2a186391398b1e1a285983;hpb=1794d729c1c4b0de8f2e72b5096539c52ee6b74f diff --git a/test/tests/spost/test-bcc-dcc b/test/tests/spost/test-bcc-dcc new file mode 100644 index 0000000..cafddaf --- /dev/null +++ b/test/tests/spost/test-bcc-dcc @@ -0,0 +1,145 @@ +# test spost: bcc and dcc headers + +. "$MH_TEST_COMMON" + + +draft="$MH_TEST_DIR/spost-$$.draft" + +profile="$MMH/profile-spost" +cd "$MMH" +cat "`mhparam profile`" - >"$profile" < +! +cd - +export MMHP="$profile" + + +# to + cc headers + +cat >"$draft" < + +foo +----EOM---- +jack +charly +alice +gill +! + + + +# to + bcc headers + +cat >"$draft" < + +foo +----EOM---- +alice +! + + + + + +# only bcc headers + +cat >"$draft" < +Bcc: undisclosed-recipients:; + +foo +----EOM---- +! + + + + +# to + dcc headers + +cat >"$draft" < + +foo +----EOM---- +john +paul +george +ringo +alice +! + + + +# only dcc headers + +cat >"$draft" < +Bcc: undisclosed-recipients:; + +foo +----EOM---- +john +paul +george +ringo +! +