# test spost: Group Addresses . "$MH_TEST_COMMON" draft="$MH_TEST_DIR/spost-$$.draft" profile="$MMH/profile-spost" cd "$MMH" cat "`mhparam profile`" - >"$profile" < ! cd - >/dev/null export MMHP="$profile" # Group Recipients cat >"$draft" <, Gill ; Date: Sun, 25 Oct 2015 18:59:56 +0100 Subject: Group Recipients ---------------- foo ! runandcheck 'spost -debug "$draft"' < foo ----EOM---- alice@example.org gill@example.org ! cat >"$draft" <; Date: Sun, 25 Oct 2015 18:59:56 +0100 Subject: Group in CC ---------------- foo ! runandcheck 'spost -debug "$draft"' < foo ----EOM---- alice@example.org gill@example.org charly@example.net ! cat >"$draft" < Date: Sun, 25 Oct 2015 18:59:56 +0100 Subject: No semicolon at the end of the group ---------------- foo ! runandcheck 'spost -debug "$draft"' < foo ----EOM---- alice@example.org gill@example.org charly@example.net ! cat >"$draft" <, Gill ;, charly@example.net Date: Sun, 25 Oct 2015 18:59:56 +0100 Subject: Group plus address with comma ---------------- foo ! runandcheck 'spost -debug "$draft"' < foo ----EOM---- alice@example.org gill@example.org charly@example.net ! cat >"$draft" <, Gill ; charly@example.net Date: Sun, 25 Oct 2015 18:59:56 +0100 Subject: Group plus address, no comma ---------------- foo ! runandcheck 'spost -debug "$draft"' < foo ----EOM---- alice@example.org gill@example.org charly@example.net ! cat >"$draft" < foo ----EOM---- alice ! cat >"$draft" <, Gill ; Date: Sun, 25 Oct 2015 18:59:56 +0100 Subject: Group in Dcc ---------------- foo ! runandcheck 'spost -debug "$draft"' < foo ----EOM---- alice@example.org gill@example.org charly !