mapi_message

Overview

mapi_message เป็นคลาสใน Aspose.Email สําหรับ CPP.

Properties

NameTypeAccessDescription
default_property_flagsstd::uint32_tอ่าน/เขียนแสดงตัวแทนการตั้งค่าตามพื้นฐานที่ใช้กับคุณสมบัติข้อความ
recipient_type_tointอ่าน/เขียน
recipient_type_ccintอ่าน/เขียน
recipient_type_bccintอ่าน/เขียน
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สร้างข้อความ 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)
 ภาษาไทย