Msg-parser
lastmod 2026-11-10created 2020-12-104 edits
msg-parser는 Microsoft Outlook 의 .msg 메일 파일을 읽고 파싱하는 Python 라이브러리다. MSG 파일은 OLE2 복합 문서 형식이므로 olefile 로 스트림을 꺼내 제목, 발신자, 수신자, 본문, 첨부 파일을 추출하고, 결과를 dict 나 JSON, 표준 EML 형식으로 변환할 수 있다. Outlook 없이 서버에서 메일 보관 파일을 처리할 때 쓴다.
This module enables reading, parsing and converting Microsoft Outlook MSG E-Mail files.