تبدیل پیامهای ایمیل در پایتون
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."
بارگیری کد اجرایی
دریافت Converting Email Messages (Aspose.Email) از هر یک از سایتهای برنامهنویسی اجتماعی زیر: