Creating and Saving Outlook Notes in PHP
Contents
[
Hide
]
Aspose.Email - Creating and Saving Outlook Notes
To Create Outlook Notes using Aspose.Email Java for PHP, simply invoke CreateOutlookNote module. Here you can see example code.
PHP Code
$note = new MapiNote();
$note->setSubject("Blue color note");
$note->setBody("This is a blue color note");
$noteColor=new NoteColor();
$note->setColor($noteColor->Blue);
$note->setHeight(500);
$note->setWidth(500);
$noteSaveFormat=new NoteSaveFormat();
$note->save($dataDir . "MapiNote.msg", $noteSaveFormat->Msg);
print "Created outlook note successfully.".PHP_EOL;
Download Running Code
Download Creating and Saving Outlook Notes (Aspose.Email) from any of the below mentioned social coding sites: