note 29339 added to ref.com
| From: | ganger2 at adelphia dot net | Date: | Mon, 10 Feb 2003 18:17:13 +0000 |
| Subject: | note 29339 added to ref.com | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-43733@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
--
http://www.php.net/manual/en/ref.com.php
http://master.php.net/manage/user-notes.php?action=edit+29339
http://master.php.net/manage/user-notes.php?action=delete+29339
http://master.php.net/manage/user-notes.php?action=reject+29339