PHP में PST में MapiCalendar जोड़ना
Contents
[
Hide
]
Aspose.Email - PST में MapiCalendar जोड़ना
Aspose.Email Java for PHP का उपयोग करके PST में MapiCalendar जोड़ने के लिए, बस AddMapiCalendarToPST मॉड्यूल को कॉल करें। यहाँ आप उदाहरण कोड देख सकते हैं।
PHP कोड
# Create the appointment
$appointment =new MapiCalendar(
"LAKE ARGYLE WA 6743",
"Appointment",
"This is a very important meeting :)",
new Date(2012, 10, 2),
new Date(2012, 10, 2, 14, 0, 0));
\# Create the meeting
$attendees = new MapiRecipientCollection();
$mapiRecipientType=new MapiRecipientType();
$attendees->add("ReneeAJones@armyspy.com", "Renee A. Jones", $mapiRecipientType->MAPI_TO);
$attendees->add("SzllsyLiza@dayrep.com", "Szollosy Liza", $mapiRecipientType->MAPI_TO);
$meeting = new MapiCalendar(
"Meeting Room 3 at Office Headquarters",
"Meeting",
"Please confirm your availability.",
new Date(2012, 10, 2, 13, 0, 0),
new Date(2012, 10, 2, 14, 0, 0),
"CharlieKhan@dayrep.com",
$attendees
);
$personalStorage=new PersonalStorage();
$fileFormatVersion=new FileFormatVersion();
$standardIpmFolder=new StandardIpmFolder();
$pst = $personalStorage->create($dataDir . "MapiCalendarToPST1.pst", $fileFormatVersion->Unicode);
$calendar_folder = $pst->createPredefinedFolder("Calendar", $standardIpmFolder->Appointments);
print "Added MapiCalendar Successfully.".PHP_EOL;
चल रहा कोड डाउनलोड करें
नीचे उल्लेखित किसी भी सामाजिक कोडिंग साइट से Adding MapiCalendar to PST (Aspose.Email) डाउनलोड करें: