Phân tích tệp Tin nhắn Outlook trong PHP

Aspose.Email - Phân tích tệp Outlook Message

Để Phân tích tệp Outlook Message bằng Aspose.Email Java cho PHP, chỉ cần gọi mô-đun ParseOutlookMessageFile. Dưới đây là ví dụ mã.

Mã PHP


 $mapiMessage=new MapiMessage();

$outlook_message_file = $mapiMessage->fromFile($dataDir . "Message.msg");

\# Display sender's name

print "Sender Name : " . $outlook_message_file->getSenderName();

#Display Subject

print "Subject : " . $outlook_message_file->getSubject();

\# Display Body

print "Body : " . $outlook_message_file->getBody();

Tải mã đang chạy

Tải Phân tích tệp tin Outlook Message (Aspose.Email) từ bất kỳ một trong các trang mã nguồn xã hội được đề cập dưới đây: