Text body part can also have a name
This commit is contained in:
parent
83a2669a51
commit
1806e0be0e
@ -87,6 +87,8 @@ IMAPMessagePart::IMAPMessagePart(
|
|||||||
|
|
||||||
m_size = part->body_type_text->body_fields->body_fld_octets->value;
|
m_size = part->body_type_text->body_fields->body_fld_octets->value;
|
||||||
|
|
||||||
|
m_name = getPartName(part->body_type_text);
|
||||||
|
|
||||||
} else if (part->body_type_msg) {
|
} else if (part->body_type_msg) {
|
||||||
|
|
||||||
m_mediaType = vmime::mediaType(
|
m_mediaType = vmime::mediaType(
|
||||||
|
Loading…
Reference in New Issue
Block a user