Merge pull request #66 from tholdawa/master
Fix IMAPMessage::processFetchResponse bad_field_value_type for Cc and Bcc fields
This commit is contained in:
commit
64ffcdb456
@ -460,14 +460,14 @@ int IMAPMessage::processFetchResponse
|
||||
IMAPUtils::convertAddressList(*(env->env_cc()), cc);
|
||||
|
||||
if (!cc.isEmpty())
|
||||
hdr->Cc()->setValue(cc);
|
||||
hdr->Cc()->setValue(cc.toAddressList());
|
||||
|
||||
// Bcc
|
||||
mailboxList bcc;
|
||||
IMAPUtils::convertAddressList(*(env->env_bcc()), bcc);
|
||||
|
||||
if (!bcc.isEmpty())
|
||||
hdr->Bcc()->setValue(bcc);
|
||||
hdr->Bcc()->setValue(bcc.toAddressList());
|
||||
}
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user