diff options
Diffstat (limited to 'modules/mm_utils.py')
| -rw-r--r-- | modules/mm_utils.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/mm_utils.py b/modules/mm_utils.py index 4cc2d88ae..9dfd6bbdd 100644 --- a/modules/mm_utils.py +++ b/modules/mm_utils.py @@ -5,7 +5,7 @@ message and address munging, a handy-dandy routine to map a function on all the maillists, the Logging routines, and whatever else doesn't belong elsewhere.""" -__version__ = "$Revision: 399 $" +__version__ = "$Revision: 431 $" import sys, string, fcntl, os, random, regsub, re @@ -72,7 +72,8 @@ def DeliverToUser(msg, recipient, add_headers=[]): if os.fork(): return try: - file = os.popen(mm_cfg.SENDMAIL_CMD % (msg.GetSender(), recipient), + file = os.popen(mm_cfg.SENDMAIL_CMD % (msg.GetSender(), + repr(recipient)), 'w') try: msg.headers.remove('\n') |
