From 288e8a9f2127018408301b4d39465542c8cc5e62 Mon Sep 17 00:00:00 2001 From: Menno Smits Date: Fri, 3 Jun 2011 16:13:35 +0100 Subject: [PATCH] updated livetest to trigger ENVELOPE response issue with Fastmail.fm --- livetest.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/livetest.py b/livetest.py index 539c096..345b981 100755 --- a/livetest.py +++ b/livetest.py @@ -20,9 +20,11 @@ from imapclient.config import parse_config_file, create_client_from_config SIMPLE_MESSAGE = 'Subject: something\r\n\r\nFoo\r\n' +# Simple address in To header triggers interesting Fastmail.fm +# behaviour with ENVELOPE responses. MULTIPART_MESSAGE = """\ From: Bob Smith -To: Some One +To: Some One , foo@foo.com Date: Tue, 16 Mar 2010 16:45:32 +0000 Message-ID: <1A472770E042064698CB5ADC83A12ACD39455AAB@ABC> MIME-Version: 1.0 @@ -368,7 +370,7 @@ def createLiveTestClass(conf, use_uid): (('Bob Smith', None, 'bob', 'smith.com'),), (('Bob Smith', None, 'bob', 'smith.com'),), (('Bob Smith', None, 'bob', 'smith.com'),), - (('Some One', None, 'some', 'one.com'),), + (('Some One', None, 'some', 'one.com'), (None, None, 'foo', 'foo.com')), None, None, None, '<1A472770E042064698CB5ADC83A12ACD39455AAB@ABC>')) -- 2.43.0