2 ######################################################
4 # Test that repl and repl -g decode recipient addrs
6 ######################################################
10 require_locale en_US.utf-8 en_US.utf8
15 # create message to reply to
17 msgfile=`mhpath b +inbox`
19 From: =?UTF-8?Q?J=C3=BCrgen?= <juergen@example.net>
21 Cc: =?UTF-8?Q?K=C3=A4the?= <kaethe@example.org>
22 Subject: repl addr decode
23 Date: Mon, 18 Apr 2016 08:36:14 +0200
25 Content-Type: text/plain; charset="us-ascii"
26 Message-ID: <1as2n8-1Q9-00@deseo.home.schnalke.org>
32 # create the reply draft
33 runandcheck 'repl -nocc all -whatnow true l +inbox' <<!
37 runandcheck 'cat `mhpath +drafts l`' <<!
38 To: Jürgen <juergen@example.net>
41 Subject: Re: repl addr decode
42 In-reply-to: <1as2n8-1Q9-00@deseo.home.schnalke.org>
43 References: <1as2n8-1Q9-00@deseo.home.schnalke.org>
44 Comments: In-reply-to Jürgen <juergen@example.net>
45 message dated "Mon, 18 Apr 2016 08:36:14 +0200."
47 [2016-04-18 08:36] Jürgen <juergen@example.net>
55 # create the group reply draft
56 runandcheck 'repl -group -nocc me -whatnow true l +inbox' <<!
60 runandcheck 'cat `mhpath +drafts l`' <<!
61 To: Jürgen <juergen@example.net>
62 Cc: bob@example.com, Käthe <kaethe@example.org>
64 Subject: Re: repl addr decode
65 In-reply-to: <1as2n8-1Q9-00@deseo.home.schnalke.org>
66 References: <1as2n8-1Q9-00@deseo.home.schnalke.org>
67 Comments: In-reply-to Jürgen <juergen@example.net>
68 message dated "Mon, 18 Apr 2016 08:36:14 +0200."
70 [2016-04-18 08:36] Jürgen <juergen@example.net>
79 # create the group reply draft
80 runandcheck 'repl -group -nocc me -whatnow true l +inbox' <<!
84 runandcheck 'cat `mhpath +drafts l`' <<!
85 To: J?rgen <juergen@example.net>
86 Cc: bob@example.com, K?the <kaethe@example.org>
88 Subject: Re: repl addr decode
89 In-reply-to: <1as2n8-1Q9-00@deseo.home.schnalke.org>
90 References: <1as2n8-1Q9-00@deseo.home.schnalke.org>
91 Comments: In-reply-to J?rgen <juergen@example.net>
92 message dated "Mon, 18 Apr 2016 08:36:14 +0200."
94 [2016-04-18 08:36] J?rgen <juergen@example.net>