create(subject: std::string, body: std::string, unicode_strings: bool) → mapi_message | |
from_file(path: std::filesystem::path, strict: bool) → mapi_message | อัตราการอัดไฟล์ MSG จากเส้นทางที่ให้ โดยใช้การพารัสอย่างเคร่งครัดได้เป็นทางเลือก |
from_stream(stream: std::istream, strict: bool) → mapi_message | อัตราการอัด MSG จากกระแส input โดยใช้ parsing อย่างเคร่งครัดได้เป็นทางเลือก |
from_msg_document(document: msg_document) → mapi_message | สร้างข้อความ mapi_message จากเอกสาร msg_document ที่มีอยู่ |
load_from_eml(path: std::filesystem::path) → mapi_message | อัตราการอัดไฟล์ EML จากเส้นทางที่กําหนดไว้ใน mapi_message |
load_from_eml(stream: std::istream) → mapi_message | |
unicode_strings() → bool | |
set_unicode_strings(value: bool) | |
set_subject(value: std::string) | กําหนดสายประเด็นของข้อความ |
set_body(value: std::string) | กําหนดตัวข้อความเรียบของข้อຄວາມ |
set_html_body(value: std::string) | |
set_message_class(value: std::string) | |
set_sender_name(value: std::string) | กําหนดชื่อการแสดงของผู้ส่ง |
set_sender_email_address(value: std::string) | กําหนดที่อยู่อีเมลของผู้ส่ง |
set_sender_address_type(value: std::string) | |
set_internet_message_id(value: std::string) | กําหนดค่าหัวข้อ Internet Message-ID |
to_msg_document() → msg_document | เปลี่ยนข้อความ mapi_message เป็น msg_document ระดับต่ํา |
save() → std::vector<std::uint8_t> | ส่งตัวแทน MSG เป็นเวกเตอร์ไบต์ |
save(path: std::filesystem::path) | |
save(stream: std::ostream) | |
save_to_eml() → std::vector<std::uint8_t> | ส่งผล EML เป็นเวกเตอร์ไบต์ |
save_to_eml(path: std::filesystem::path) | |
save_to_eml(stream: std::ostream) | |