From a34b6a637764fe9cc2176a223fbed21262703979 Mon Sep 17 00:00:00 2001 From: Alexandre Boeglin <alex@nexedi.com> Date: Wed, 6 Dec 2006 15:55:10 +0000 Subject: [PATCH] added ".txt" extensions to attached test reports for MUAs that do not handle MIME correctly. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11622 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/tests/sendMailToList | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5Type/tests/sendMailToList b/product/ERP5Type/tests/sendMailToList index 388c512183..0f61a1ff45 100755 --- a/product/ERP5Type/tests/sendMailToList +++ b/product/ERP5Type/tests/sendMailToList @@ -64,11 +64,11 @@ file_content = file( mime_text = MIMEText(test_msg) mime_text.add_header('Content-Disposition', 'attachment', - filename='test_output') + filename='test_output.txt') msg.attach(mime_text) mime_text = MIMEText(file_content) mime_text.add_header('Content-Disposition', 'attachment', - filename='test_full_output') + filename='test_full_output.txt') msg.attach(mime_text) # Send the email via our own SMTP server. -- 2.30.9