note 29339 deleted from ref.com by phanto
| From: | phanto@php.net | Date: | Sat, 22 Mar 2003 18:06:34 +0000 |
| Subject: | note 29339 deleted from ref.com by phanto | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-45648@lists.php.net to get a copy of this message | ||
For those of you trying to integrate php with outlook.
The example above of sending an email will not always work.
You must define the outlook constants before you use them.
Adding this to the php code above the example will make it work.
define("olAppointmentItem",1);
define("olContactItem",2);
define("olDistributionListItem",7);
define("olJournalItem",4);
define("olMailItem",0);
define("olNoteItem",5);
define("olPostItem",6);
define("olTaskItem",3);
for a complete list of Outlook constants and their values visit.(had to split url to get this note
to post) http://msdn.microsoft.com/library/default.asp
?url=/library/en-us/off2000/html/olmscconstants.asp