mapi_message
개요
mapi_message은(는) C++용 Aspose.Email FOSS의 클래스입니다.
설명
mapi_message은(는) C++용 Aspose.Email FOSS 라이브러리의 클래스이며, 프로그래밍 사용을 위해 44개의 메서드와 6개의 속성을 노출합니다.
핵심 기능에는 std::uint32_t 포함; 메시지 제목 설정; 메시지의 일반 텍스트 본문 설정이 있습니다. 이러한 작업을 통해 개발자는 mapi_message 기능을 C++ 애플리케이션에 직접 통합할 수 있습니다.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
default_property_flags | std::uint32_t | 읽기/쓰기 | 기본 속성 플래그 비트마스크를 나타냅니다 |
recipient_type_to | int | 읽기/쓰기 | ‘To’ 수신자 유형 상수를 나타냅니다 |
recipient_type_cc | int | 읽기/쓰기 | CC 수신자 유형 상수를 나타냅니다 |
recipient_type_bcc | int | 읽기/쓰기 | ‘BCC’ 수신자 유형 상수를 나타냅니다 |
attach_method_by_value | int | 읽기/쓰기 | 첨부 파일을 값으로 전달하는 메서드 상수를 나타냅니다. |
attach_method_embedded | int | 읽기/쓰기 | 임베디드 첨부 파일 메서드 상수를 나타냅니다 |
메서드
| 시그니처 | 설명 |
|---|---|
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를 로드하며, 선택적으로 엄격한 구문 분석을 적용합니다. |
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) |