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

NameTypeAccessDescription
default_property_flagsstd::uint32_tอ่าน/เขียนแสดงตัวแทนของลักษณะป้ายเบทแบบถัดไป bitmask
recipient_type_tointอ่าน/เขียนแสดงตัวแทนของคอนสตานต์แบบรับ “To”
recipient_type_ccintอ่าน/เขียนแสดงตัวแทนของค่าคงที่แบบรับ “CC”
recipient_type_bccintอ่าน/เขียนแสดงตัวแทนของค่าคงที่แบบผู้รับ “BCC”
attach_method_by_valueintอ่าน/เขียนแสดงความติดตามโดยวิธีค่าคงที่
attach_method_embeddedintอ่าน/เขียนแสดงค่าคงที่วิธีการติดตั้งในตัว

Methods

SignatureDescription
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)

See Also

 ภาษาไทย