A
agaut
Hi everybody
I'm trying to create Outlook RDV Via PHP using COM
My php script is working except for the send...
When i do "Display", it creates the RDV with alarm and guested people
but it doesn't send anything
Here is the code i wrote
com_load_typelib('Outlook.Application');
$objApp = new COM("Outlook.Application");
$myItem = $objApp->CreateItem(olAppointmentItem);
//$myItem->MeetingStatus(olMeeting);(doesn't work)
//$myItem->Importance(olImportanceHigh);(doesn't work)
$myItem->Subject="RDV";
$myItem->Body="This is a rdv for.....!";
$myItem->Start="10:00 AM 11/14/03";
$myItem->End="12:00 PM 11/14/03";
$myItem->Location="Chez le client";
$myItem->RequiredAttendees="(e-mail address removed);[email protected]";
$myItem->ReminderSet=true;
$myItem->ReminderMinutesBeforeStart=30;
//$myItem->Display();
$myItem->Send();
Any Idea ?
Thanks
I'm trying to create Outlook RDV Via PHP using COM
My php script is working except for the send...
When i do "Display", it creates the RDV with alarm and guested people
but it doesn't send anything
Here is the code i wrote
com_load_typelib('Outlook.Application');
$objApp = new COM("Outlook.Application");
$myItem = $objApp->CreateItem(olAppointmentItem);
//$myItem->MeetingStatus(olMeeting);(doesn't work)
//$myItem->Importance(olImportanceHigh);(doesn't work)
$myItem->Subject="RDV";
$myItem->Body="This is a rdv for.....!";
$myItem->Start="10:00 AM 11/14/03";
$myItem->End="12:00 PM 11/14/03";
$myItem->Location="Chez le client";
$myItem->RequiredAttendees="(e-mail address removed);[email protected]";
$myItem->ReminderSet=true;
$myItem->ReminderMinutesBeforeStart=30;
//$myItem->Display();
$myItem->Send();
Any Idea ?
Thanks