Outlook RDV and PHP

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top