| Top |
A machine-readable delivery status notification. The first header group contains per-message fields; subsequent groups describe individual recipients. Both message/delivery-status and message/global-delivery-status use this class.
GMimeMessageDeliveryStatus *
g_mime_message_delivery_status_new (void);
Creates an empty message/delivery-status part. Status groups and an empty content stream are created on first group access.
GMimeHeaderListCollection * g_mime_message_delivery_status_get_status_groups (GMimeMessageDeliveryStatus *status,GError **error);
Lazily parses the decoded content with default parser options. The first group contains per-message fields, and later groups contain per-recipient fields. Blank lines do not create empty groups. Existing content is not rewritten merely by reading groups. With no content, an empty collection and content stream are created.
Handles Office365 reports whose first group declares a transfer encoding
for all remaining groups. Malformed input logs a warning and retains
completed groups, matching MimeKit's syntax-error recovery. Rewind and read
failures return NULL without caching partial results and may be retried.
Content without a backing stream reports an invalid-operation error.
Collection and contained-header changes replace the content using default
format options without changing the part's transfer-encoding header.
Collection indexed replacement does not notify; see
g_mime_header_list_collection_set_group(). Once loaded, the same collection
is returned even if the inherited content is replaced.