php-ews icon indicating copy to clipboard operation
php-ews copied to clipboard

PHP Exchange Web Services

Results 88 php-ews issues
Sort by recently updated
recently updated
newest added

How can I get contacts inside a group? I tried it: ``` use garethp\ews\ContactsAPI as API; use garethp\ews\API\Type\FolderIdType; $api = API::withUsernameAndPassword($host, $email, $pass); $id = 'groupid'; $changekey = 'changekey'; $folderid...

I'm using this example: https://github.com/Garethp/php-ews/blob/master/examples/calendar/workingWithPublicCalendars.php However, after the line "Perform operations on public folders as normal from here on out" things doesn't seem to work well for me. listChanges() works,...

Hi, Good day! Is there a way to do like this C# code on php-ews? see below codes ItemView itemView = new ItemView(int.MaxValue); var extField1 = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.PublicStrings, "extField1", MapiPropertyType.String);...

Hi, sending Mails with attachments now works perfect, but not with InlineAttachments ;-( Supposed i have '``' within my body and want to create an inlineAttachment? Where can i set,...

Hello, how can I add a Picture to a new Contact? $api->createContacts(array( 'GivenName' => $contact['Vorname'], 'Surname' => $contact['Nachname'], 'EmailAddresses' => array( 'Entry' => array('Key' => \garethp\ews\API\Enumeration\EmailAddressKeyType::EMAIL_ADDRESS_1, '_value' => $contact['Email']) ),...

Hi, I am trying to delete a folder with the following code: ``` use garethp\ews\API\Enumeration\DistinguishedFolderIdNameType; $api = MailAPI::withUsernameAndPassword($host, $login, $password); $folders = $api->getChildrenFolders(DistinguishedFolderIdNameType::MESSAGE_ROOT); $api->deleteFolder($folders[$folderId]->getFolderId()); ``` It seems simple but it...

Hi, I'm trying to get only mails of a folder but the following code doesn't work and I don't understand why. ``` $api = garethp\ews\MailAPI::withUsernameAndPassword($host, $login, $password); $mails = $api->getMailItems($folderId,...

Hello, I'm a beginner and i want to get the items of my reception box in using primarySmtpAddress. **i do this** : ```php require_once "vendor/autoload.php"; $host = 'mail.myhost.com'; $username =...

hi, i tried to create a new contact as you do it within your example, but i am running in this error thank you manuel `Fatal error: Uncaught SoapFault exception:...

I'm not quite sure if I have overlooked something. I can query my own calendar without problems and also compare calendars with each other. But how can I query a...