रूबी में Outlook नोट्स बनाना और सहेजना
Contents
[
Hide
]
Aspose.Email - Outlook नोट्स बनाना और सहेजना
Aspose.Email Java for Ruby का उपयोग करके Outlook Notes बनाने के लिए, बस CreateOutlookNote मॉड्यूल को कॉल करें। यहाँ आप उदाहरण कोड देख सकते हैं।
Ruby कोड
data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/'
note = Rjb::import('com.aspose.email.MapiNote').new
note.setSubject("Blue color note")
note.setBody("This is a blue color note")
note.setColor(Rjb::import('com.aspose.email.NoteColor').Blue)
note.setHeight(500)
note.setWidth(500)
note.save(data_dir + "MapiNote.msg", Rjb::import('com.aspose.email.NoteSaveFormat').Msg)
puts "Created outlook note successfully."
चल रहा कोड डाउनलोड करें
नीचे उल्लेखित किसी भी सामाजिक कोडिंग साइट से Outlook नोट्स बनाना और सहेजना (Aspose.Email) डाउनलोड करें: