สร้างและบันทึกโน้ต Outlook ใน PHP

Aspose.Email - การสร้างและบันทึกโน้ต Outlook

เพื่อสร้างบันทึก Outlook โดยใช้ Aspose.Email Java for PHP เพียงเรียกใช้โมดูล CreateOutlookNote ที่นี่คุณจะเห็นโค้ดตัวอย่าง

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;

ดาวน์โหลดโค้ดที่ทำงาน

ดาวน์โหลด Creating and Saving Outlook Notes (Aspose.Email) จากไซต์โซเชียลโค้ดใดก็ได้ที่ระบุด้านล่าง: