MBOX를 PST로 변환

서명을 유지하거나 제거하면서 MBOX를 PST로 변환

MBOX 파일을 PST 형식으로 변환할 때, 보다 깔끔한 출력이나 호환성을 위해 메시지의 디지털 서명을 제외하고 싶을 수 있습니다. Aspose.Email은 변환 과정에서 이러한 서명을 제거하는 편리한 옵션을 제공합니다: remove_signature 속성 MboxToPstConversionOptions 클래스.

아래 예제는 Python 프로젝트에서 이 옵션을 활성화하는 방법을 보여줍니다:

import aspose.email as ae

personalStorage = ae.storage.pst.PersonalStorage.create("target.pst", ae.storage.pst.FileFormatVersion.UNICODE)
conversion_options = ae.storage.MboxToPstConversionOptions()
conversion_options.remove_signature = True
ae.storage.MailStorageConverter.mbox_to_pst( ae.storage.mbox.MboxrdStorageReader("source.mbox", ae.storage.mbox.MboxLoadOptions()), personalStorage, "Inbox", conversion_options)