mapi_message
Overview
mapi_message เป็นคลาสใน Aspose.Email FOSS สําหรับ C++.
Description
mapi_message เป็นคลาสในห้องสมุด Aspose.Email FOSS สําหรับ C++ ที่เปิดเผย 44 วิธีและ 6 คุณลักษณะสําหรับการใช้งานโปรแกรม.
ความสามารถหลัก ประกอบด้วย: std::uint32_t; กําหนดหัวข้อของสาร; กໍານົດตัวโครงการในนามธรรมดา ของข้อความ การปฏิบัติงานเหล่านี้ทําให้ผู้พัฒนาสามารถรวมฟังก์ชัน mapi_message ได้โดยตรงกับแอปพลิเคชั่น C++.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
default_property_flags | std::uint32_t | อ่าน/เขียน | แสดงตัวแทนของลักษณะป้ายเบทแบบถัดไป bitmask |
recipient_type_to | int | อ่าน/เขียน | แสดงตัวแทนของคอนสตานต์แบบรับ “To” |
recipient_type_cc | int | อ่าน/เขียน | แสดงตัวแทนของค่าคงที่แบบรับ “CC” |
recipient_type_bcc | int | อ่าน/เขียน | แสดงตัวแทนของค่าคงที่แบบผู้รับ “BCC” |
attach_method_by_value | int | อ่าน/เขียน | แสดงความติดตามโดยวิธีค่าคงที่ |
attach_method_embedded | int | อ่าน/เขียน | แสดงค่าคงที่วิธีการติดตั้งในตัว |
Methods
| Signature | Description |
|---|---|
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 | สร้างข้อความจากตัวอย่าง 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 | เปลี่ยนข้อความเป็นวัตถุ 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) |