Ruby에서 Outlook 메모 만들기 및 저장
Contents
[
Hide
]
Aspose.Email - Outlook 메모 만들기 및 저장
Aspose.Email Java for Ruby를 사용하여 Outlook 메모를 만들려면, 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)**을 다운로드하십시오: