diff --git a/src/net/imap/IMAPMessage.cpp b/src/net/imap/IMAPMessage.cpp index 59f20f00..6db00768 100644 --- a/src/net/imap/IMAPMessage.cpp +++ b/src/net/imap/IMAPMessage.cpp @@ -463,7 +463,7 @@ void IMAPMessage::processFetchResponse mailboxList to; IMAPUtils::convertAddressList(*(env->env_to()), to); - hdr->To()->setValue(to); + hdr->To()->setValue(to.toAddressList()); // Sender mailboxList sender;