create(subject: std::string, body: std::string, unicode_strings: bool) → mapi_message | |
from_file(path: std::filesystem::path, strict: bool) → mapi_message | Tải một tệp MSG từ con đường đã được cung cấp, tùy chọn thực hiện các cài đặt nghiêm ngặt |
from_stream(stream: std::istream, strict: bool) → mapi_message | Tải MSG từ dòng nhập, tùy chọn thực hiện cài đặt chặt chẽ |
from_msg_document(document: msg_document) → mapi_message | Tạo một mapi_message từ một tài liệu msg_existing |
load_from_eml(path: std::filesystem::path) → mapi_message | Tải một tệp EML từ con đường được chỉ định vào mapi_message |
load_from_eml(stream: std::istream) → mapi_message | |
unicode_strings() → bool | |
set_unicode_strings(value: bool) | |
set_subject(value: std::string) | Thiết lập chủ đề của tin nhắn |
set_body(value: std::string) | Thiết lập cơ thể văn bản thẳng của thông điệp |
set_html_body(value: std::string) | |
set_message_class(value: std::string) | |
set_sender_name(value: std::string) | Nhập tên hiển thị của người gửi |
set_sender_email_address(value: std::string) | Thiết lập địa chỉ email của người gửi |
set_sender_address_type(value: std::string) | |
set_internet_message_id(value: std::string) | Thiết lập giá trị đầu Internet Message-ID |
to_msg_document() → msg_document | Chuyển đổi thư mapi_to một msg_document cấp thấp |
save() → std::vector<std::uint8_t> | Trở lại đại diện MSG như một byte vector |
save(path: std::filesystem::path) | |
save(stream: std::ostream) | |
save_to_eml() → std::vector<std::uint8_t> | Trả lại đại diện EML như một byte vector |
save_to_eml(path: std::filesystem::path) | |
save_to_eml(stream: std::ostream) | |