jamesiarmes / php-ews

PHP Exchange Web Services
http://jamesarmes.com/php-ews/
MIT License
567 stars 304 forks source link

creating a contact #51

Closed cskhotels closed 12 years ago

cskhotels commented 12 years ago

Leaving this in the code to create a contact breaks the script sayting that Class EWSType_MapiPropertyTypeType not found

// set extended properties $contact->ExtendedProperty = array(); // contact title $property = new EWSType_ExtendedPropertyType(); $property->ExtendedFieldURI->PropertyTag = '0x3A45'; $property->ExtendedFieldURI->PropertyType = EWSType_MapiPropertyTypeType::STRING; $property->Value = 'Mr.'; $contact->ExtendedProperty[] = $property;

cskhotels commented 12 years ago

same thing happening for EWSType_BodyTypeType

jamesiarmes commented 12 years ago

I see that you closed this issue, has it been resolved?

cskhotels commented 12 years ago

I fixed it. I opened number 52

Josh Copeland CSK IT 479.461.8141

On Jul 14, 2012, at 12:41 PM, "James Armes" reply@reply.github.com wrote:

I see that you closed this issue, has it been resolved?


Reply to this email directly or view it on GitHub: https://github.com/jamesiarmes/php-ews/issues/51#issuecomment-6984968