diff options
Diffstat (limited to 'src/mailbox.cpp')
-rw-r--r-- | src/mailbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailbox.cpp b/src/mailbox.cpp index 2f625216..f6df5165 100644 --- a/src/mailbox.cpp +++ b/src/mailbox.cpp @@ -415,7 +415,7 @@ void mailbox::generate(utility::outputStream& os, const string::size_type maxLin bool newLine = true; m_name.encodeAndFold(os, maxLineLength, pos, &pos, - forceEncode ? text::FORCE_ENCODING : 0); + text::QUOTE_IF_POSSIBLE | (forceEncode ? text::FORCE_ENCODING : 0)); if (pos + m_email.length() + 3 > maxLineLength) { |