Patch by Zarafa <http://www.zarafa.com/> - adds support for address headers that specify an (encoded) fullname with an empty email address, which was set by a <> marker. --- libvmime-0.7.1/src/mailbox.cpp 2005-03-18 22:26:47.000000000 +0100 +++ libvmime-0.7.1/src/mailbox.cpp.fullname-without-email-address 2010-05-09 22:25:18.000000000 +0200 @@ -84,6 +84,7 @@ // Temporary buffers for extracted name and address string name; string address; + bool hadBrackets = false; while (p < pend) { @@ -276,6 +277,7 @@ } else if (*p == '>') { + hadBrackets = true; break; } else if (!parserHelpers::isSpace(*p)) @@ -302,7 +304,7 @@ // Swap name and address when no address was found // (email address is mandatory, whereas name is optional). - if (address.empty() && !name.empty()) + if (address.empty() && !name.empty() && !hadBrackets) { m_email.empty(); m_email.reserve(name.size());