$objApp = new COM("Outlook.Application");
$myItem = $objApp->CreateItem(1);
$myItem->Subject=" Subject of Meeting";
$myItem->Body="Description of meeting (appears in body of appt)";
$myItem->Location = "Where is the meeting?";
$myItem->Start="03/15/2004 14:00"; // date and time in this format
$myItem->Duration = "60"; // how long is the meeting?
//$myItem->Display(); // show the meeting
$myItem->Save(); // don't show it just save it in this case...
Damn this is some powerful stuff...
The only error I had was I had the Date in the wrong format! Now i have a php script that can set appts in outlook without the user even seeing it happening. This way I don't need to sync the two programs because they can use outlook for their scheduling purposes!
Woo Hoo