diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-14 12:39:29 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-14 13:23:28 +0200 |
commit | ae1c5a0a53d1fd351b6fd33e8a46ad1034874489 (patch) | |
tree | 7971bc16da091821bf0fbb2aa91ca04c22e5c2b0 /tests/interresourcemovetest.cpp | |
parent | 7dc97cc6e338e1d756734e1620a062cdb08635ca (diff) | |
download | sink-ae1c5a0a53d1fd351b6fd33e8a46ad1034874489.tar.gz sink-ae1c5a0a53d1fd351b6fd33e8a46ad1034874489.zip |
Deal with both CRLF and LF mime messages.
IMAP always requires CRLF, and so does the MIME standard, KMIME expects
LF-only.
We now just try to always use CRLF on disk, but convert LF-only messages should
we have to (e.g. because copied over from maildir or so).
Diffstat (limited to 'tests/interresourcemovetest.cpp')
-rw-r--r-- | tests/interresourcemovetest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/interresourcemovetest.cpp b/tests/interresourcemovetest.cpp index 3ac6ad4..5438bc7 100644 --- a/tests/interresourcemovetest.cpp +++ b/tests/interresourcemovetest.cpp | |||
@@ -48,7 +48,7 @@ class InterResourceMoveTest : public QObject | |||
48 | m.subject(true)->fromUnicodeString(subject, "utf8"); | 48 | m.subject(true)->fromUnicodeString(subject, "utf8"); |
49 | m.messageID(true)->setIdentifier(uid); | 49 | m.messageID(true)->setIdentifier(uid); |
50 | m.assemble(); | 50 | m.assemble(); |
51 | return m.encodedContent(); | 51 | return m.encodedContent(true); |
52 | } | 52 | } |
53 | 53 | ||
54 | private slots: | 54 | private slots: |