#Test if MIME convertion work . "$MH_TEST_COMMON" draft="$MH_TEST_DIR/send-$$.draft" profile="$MMH/profile-send" cd "$MMH" cat "`mhparam profile`" - >"$profile" < ! cd - >/dev/null export MMHP="$profile" cat >"$draft" < To: alice Date: Sun, 25 Oct 2015 18:59:56 +0100 Subject: Test MIME ---------------- foo ! runandcheck 'send -debug "$draft" | sed "/^Content-ID/s/:.*/: /"' < To: alice Date: Sun, 25 Oct 2015 18:59:56 +0100 Subject: Test MIME MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: foo ----EOM---- alice ! cat >"$draft" < To: alice Date: Sun, 25 Oct 2015 18:59:56 +0100 Subject: Test MIME MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: ---------------- foo ! runandcheck 'send -debug "$draft"' < To: alice Date: Sun, 25 Oct 2015 18:59:56 +0100 Subject: Test MIME MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: foo ----EOM---- alice !