From 1e6c47bf93a8131a140a802da5131db5ceb9c8db Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Sun, 28 Oct 2001 03:20:46 +0000 Subject: inject(): kws must contain _plaintext (== 1) so that the string message is read back as a string. --- Mailman/Post.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Mailman/Post.py') diff --git a/Mailman/Post.py b/Mailman/Post.py index 50d6bb9b7..8a9c87d40 100644 --- a/Mailman/Post.py +++ b/Mailman/Post.py @@ -25,8 +25,9 @@ from Mailman.Queue.sbcache import get_switchboard def inject(listname, msg, recips=None): inq = get_switchboard(mm_cfg.INQUEUE_DIR) - kws = {'listname': listname, - 'tolist' : 1, + kws = {'listname' : listname, + 'tolist' : 1, + '_plaintext': 1, } if recips: kws['recips'] = recips -- cgit v1.2.3-70-g09d2