Pythonでメールメッセージを変換する
Contents
[
Hide
]
Aspose.Email - メールメッセージの変換
Aspose.Email Java for Python を使用してメールメッセージを変換するには、以下のコードを使用してください。
Python コード
# Initialize and Load an existing EML file by specifying the MessageFormat
mailMessage = self.MailMessage
eml = mailMessage.load(self.dataDir + "Message.eml")
\# Save the Email message to disk in Unicode format
saveOptions= self.SaveOptions
eml.save(self.dataDir + "AnEmail.msg", saveOptions.getDefaultMsgUnicode())
\# Display Status
print "Converted email to msg successfully."
実行コードをダウンロード
以下に挙げるソーシャルコーディングサイトのいずれかから メールメッセージの変換 (Aspose.Email) をダウンロードしてください: