Python में ईमेल संदेशों को बदलना

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) डाउनलोड करें: