Konwersja wiadomości e‑mail w Pythonie
Contents
[
Hide
]
Aspose.Email - Konwertowanie wiadomości e-mail
Aby skonwertować wiadomości e-mail przy użyciu Aspose.Email Java for Python, użyj poniższego kodu.
Kod 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."
Pobierz działający kod
Pobierz Converting Email Messages (Aspose.Email) z dowolnej z poniżej wymienionych platform kodowania społecznego: