mapi_attachment

mapi_attachment

Vue de l’ensemble

‘mapi_attachment’ est une classe dans Aspose.Email pour CPP.

Propriétés

NameTypeAccessDescription
filenamestd::stringRead/WriteStores the attachment’s file name
datastd::vector<std::uint8_t>Read/WriteHolds the raw byte content of the attachment
mime_typestd::stringRead/Write
content_idstd::stringRead/WriteContains the attachment’s content identifier
embedded_messagestd::shared_ptr<mapi_message>Read/WriteProvides access to the embedded mapi_message, if any
propertiesmapi_property_collectionRead/Write

méthodes

SignatureDescription
from_bytes(filename: std::string, data: std::vector<std::uint8_t>, mime_type: std::string, content_id: std::string)mapi_attachment
from_stream(filename: std::string, stream: std::istream, mime_type: std::string, content_id: std::string)mapi_attachment
load_data(stream: std::istream)Reads attachment data from the given input stream into the object
is_embedded_message()bool
 Français