1#test whatnow2 workflow 2 3. "$MH_TEST_COMMON" 4profile="$MMH/profile-send" 5cd "$MMH" 6cat "`mhparam profile`" - >"$profile" <<! 7default-from: Bob <bob@example.org> 8! 9cd - >/dev/null 10export MMHP="$profile" 11 12runandcheck "comp -editor cat -whatnowproc whatnow2" <<! 13mmh-last-editor: cat 14mmh-mhdist: 0 15To: 16Cc: 17Fcc: +sent 18Subject: 19-------- 20! 21 22runandcheck "whatnow2 edit" <<! 23mmh-last-editor: cat 24mmh-mhdist: 0 25To: 26Cc: 27Fcc: +sent 28Subject: 29-------- 30! 31 32cat >`mhpath l +drafts` <<! 33From: Bob <bob@example.org> 34To: alice 35Date: Sun, 25 Oct 2015 18:59:56 +0100 36Subject: Test 37---------------- 38foo 39! 40 41runandcheck 'whatnow2 send -debug | replace_contentid' <<! 42From: Bob <bob@example.org> 43To: alice 44Date: Sun, 25 Oct 2015 18:59:56 +0100 45Subject: Test 46MIME-Version: 1.0 47Content-Type: text/plain; charset="us-ascii" 48Content-ID: <TESTID> 49 50foo 51----EOM---- 52alice 53! 54