note 48275 rejected from ref.com by cece

From: Date: Fri, 17 Dec 2004 16:07:50 +0000
Subject: note 48275 rejected from ref.com by cece
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-81915@lists.php.net to get a copy of this message
Note Submitter: denis at geomap dot ru ---- People help to understand! I need to create a taskItem in Outlook nothing it turns out! What I do not so? <code> // Some servers may have an auto timeout, so take as long as you want. set_time_limit(0); // Show all errors, warnings and notices whilst developing. error_reporting(E_ALL); com_load_typelib('Outlook.Application'); // after that the code from Purplerain $Task = new COM("Outlook.Application") or die('Can't run Outlook'); print "Outlook loaded, version {$Task->Version}\n"; $myItem = $Task->CreateItem(3); $myItem->Body='Call'; $myItem->Subject='call'; //$myItem->Start = "20/11/2004"; //$myItem->ReminderSet=True; //$myItem->ReminderTime=Date('06.09.2004'); //$myItem->ReminderPlaySound = True; $myItem->Save(); //$myItem->Display(); $Task->Quit(); $Task->Release(); $Task = null; print "Outlook closed.\n"; </code>

« previous php.notes (#81915) next »