Skip to content

Commit 96fe95c

Browse files
SDK version 21.4.0.135 generated
1 parent 17875af commit 96fe95c

File tree

6 files changed

+42
-8
lines changed

6 files changed

+42
-8
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[![Packagist](https://img.shields.io/packagist/v/aspose/aspose-email-cloud)](https://packagist.org/packages/aspose/aspose-email-cloud) [![License](https://img.shields.io/github/license/aspose-email-cloud/aspose-email-cloud-php)](https://packagist.org/packages/aspose/aspose-email-cloud) [![PHP](https://img.shields.io/packagist/php-v/aspose/aspose-email-cloud)](https://packagist.org/packages/aspose/aspose-email-cloud) ![tests](https://github.com/aspose-email-cloud/aspose-email-cloud-php/workflows/tests/badge.svg)
22

33
# Manage Emails in Cloud via PHP REST SDK
4+
45
[Aspose.Email Cloud SDK for PHP](https://products.aspose.cloud/email/php) is a REST API SDK for creating email applications that work with standard email file formats such as Outlook MSG, EML, iCalendar files and VCard.
56

67
This SDK allows you to work with Aspose.Email Cloud REST APIs in your PHP applications quickly and easily, with zero initial cost.
@@ -22,12 +23,12 @@ Aspose.Email Cloud is a REST API for creating email applications that work with
2223
- Email configuration discovery.
2324
- Disposable email address detection.
2425

25-
## Enhancements in Version 21.3
26+
## Enhancements in Version 21.4
2627

2728
- IMAP native threads support added to the built-in Email client.
2829
- New field ClientThreadMoveRequest.SourceFolder added to specify a folder to move a thread from.
2930

30-
See [Release notes](https://docs.aspose.cloud/email/aspose-email-cloud-21-3-release-notes/).
31+
See [Release notes](https://docs.aspose.cloud/email/aspose-email-cloud-21-4-release-notes/).
3132

3233
## How to use the SDK?
3334
The complete source code is available in the [GIT repository](https://github.com/aspose-email-cloud/aspose-email-cloud-php/tree/master/src/Aspose/Email).
@@ -62,7 +63,10 @@ Use `AiBcrApi::parse` method to parse business card image to VCard DTO:
6263
```php
6364
$file = new SplFileObject("path/to/image/to/parse.png");
6465
$result = $api->ai()->bcr()->parse(
65-
new AiBcrParseRequest($file, null, null, true)
66+
Models::AiBcrParseRequest()
67+
->file($file)
68+
->is_single(true)
69+
->build()
6670
);
6771
$contact = $result->getValue()[0];
6872
$parsedDisplayName = $contact->getDisplayName();
@@ -71,8 +75,8 @@ $parsedDisplayName = $contact->getDisplayName();
7175
## Aspose.Email Cloud SDKs in Popular Languages
7276

7377
| .NET | Java | PHP | Python | Ruby | Node.js |
74-
|---|---|---|---|---|---|
78+
|------|------|-----|--------|------|---------|
7579
| [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-dotnet) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-java) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-php) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-python) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-ruby) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-node) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-android) | [GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-swift)|[GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-dart) |[GitHub](https://github.com/aspose-email-cloud/aspose-email-cloud-go) |
7680
| [NuGet](https://www.nuget.org/packages/Aspose.Email-Cloud/) | [Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-email-cloud) | [Composer](https://packagist.org/packages/aspose/aspose-email-cloud) | [PIP](https://pypi.org/project/aspose.email-cloud/) | [GEM](https://rubygems.org/gems/aspose_email_cloud) | [NPM](https://www.npmjs.com/package/@asposecloud/aspose-email-cloud) |
7781

78-
[Product Page](https://products.aspose.cloud/email/php) | [Documentation](https://docs.aspose.cloud/email/) | [Demo](https://products.aspose.app/email/family) | [Swagger UI](https://apireference.aspose.cloud/email/) | [Blog](https://blog.aspose.cloud/category/email/) | [Free support](https://forum.aspose.cloud/c/email) | [Free trial](https://dashboard.aspose.cloud/#/apps) | [SDK reference documentation](https://docs.aspose.cloud/email/reference-api)
82+
[Product Page](https://products.aspose.cloud/email/php) | [Documentation](https://docs.aspose.cloud/email/) | [Demo](https://products.aspose.app/email/family) | [Swagger UI](https://apireference.aspose.cloud/email/) | [Blog](https://blog.aspose.cloud/category/email/) | [Free support](https://forum.aspose.cloud/c/email) | [Free trial](https://dashboard.aspose.cloud/#/apps) | [SDK reference documentation](https://docs.aspose.cloud/email/reference-api)

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"description": "This repository contains Aspose Cloud SDK for PHP source code. Aspose Cloud SDK for PHP lets PHP developers convert and process a variety of file formats in the cloud quickly and easily.",
33
"name": "aspose/aspose-email-cloud",
44
"type": "library",
5-
"version": "20.12.0",
5+
"version": "21.4.0.135",
66
"license": "MIT",
77
"keywords": [
88
"aspose",
@@ -43,5 +43,5 @@
4343
"Aspose": "src/",
4444
"Test": "tests/"
4545
}
46-
}
46+
}
4747
}

doc/ClientAccountApi.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ $result = Models::emailClientAccount()
5353
->refreshToken('refreshToken')
5454
->login('example@example.com')
5555
->build())
56+
->cacheFile(Models::storageFileLocation()
57+
->fileName('account.cache')
58+
->storage('First Storage')
59+
->folderPath('file/location/folder/on/storage')
60+
->build())
5661
->build();
5762
```
5863
</details>
@@ -87,6 +92,11 @@ $result = Models::emailClientAccount()
8792
->refreshToken('refreshToken')
8893
->login('example@example.com')
8994
->build())
95+
->cacheFile(Models::storageFileLocation()
96+
->fileName('account.cache')
97+
->storage('First Storage')
98+
->folderPath('file/location/folder/on/storage')
99+
->build())
90100
->build();
91101
```
92102

@@ -265,6 +275,11 @@ $request = Models::clientAccountSaveRequest()
265275
->refreshToken('refreshToken')
266276
->login('example@example.com')
267277
->build())
278+
->cacheFile(Models::storageFileLocation()
279+
->fileName('account.cache')
280+
->storage('First Storage')
281+
->folderPath('file/location/folder/on/storage')
282+
->build())
268283
->build())
269284
->build();
270285
```
@@ -302,6 +317,11 @@ $request = Models::clientAccountSaveRequest()
302317
->refreshToken('refreshToken')
303318
->login('example@example.com')
304319
->build())
320+
->cacheFile(Models::storageFileLocation()
321+
->fileName('account.cache')
322+
->storage('First Storage')
323+
->folderPath('file/location/folder/on/storage')
324+
->build())
305325
->build())
306326
->build();
307327

doc/ClientAccountSaveRequest.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ $clientAccountSaveRequest = Models::clientAccountSaveRequest()
2828
->refreshToken('refreshToken')
2929
->login('example@example.com')
3030
->build())
31+
->cacheFile(Models::storageFileLocation()
32+
->fileName('account.cache')
33+
->storage('First Storage')
34+
->folderPath('file/location/folder/on/storage')
35+
->build())
3136
->build())
3237
->build();
3338
```

doc/ClientMessageApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ $result = $api->client()->message()->fetchFile($request);
425425

426426
Description: Get messages from folder, filtered by query
427427

428-
The query string should have the following view. The example of a simple expression: '<Field name>' <Comparison operator> '<Field value>', where &lt;Field Name&gt; - the name of a message field through which filtering is made, &lt;Comparison operator&gt; - comparison operators, as their name implies, allow to compare message field and specified value, &lt;Field value&gt; - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: (<Simple expression 1> & <Simple expression 2>) | <Simple expression 3 >, where \"&amp;\" - logical-AND operator, \"|\" - logical-OR operator At present the following values are allowed as a field name (<Field name>): \"To\" - represents a TO field of message, \"Text\" - represents string in the header or body of the message, \"Bcc\" - represents a BCC field of message, \"Body\" - represents a string in the body of message, \"Cc\" - represents a CC field of message, \"From\" - represents a From field of message, \"Subject\" - represents a string in the subject of message, \"InternalDate\" - represents an internal date of message, \"SentDate\" - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \"Answered\" - represents an /Answered flag of message \"Seen\" - represents a /Seen flag of message \"Flagged\" - represents a /Flagged flag of message \"Draft\" - represents a /Draft flag of message \"Deleted\" - represents a Deleted/ flag of message \"Recent\" - represents a Deleted/ flag of message \"MessageSize\" - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \"IsRead\" - Indicates whether the message has been read \"HasAttachment\" - Indicates whether or not the message has attachments \"IsSubmitted\" - Indicates whether the message has been submitted to the Outbox \"ContentClass\" - represents a content class of item Additionally, the following field names are allowed for pst/ost files: \"MessageClass\" - Represents a message class \"ContainerClass\" - Represents a folder container class \"Importance\" - Represents a message importance \"MessageSize\" - represents a size (in bytes) of message \"FolderName\" - represents a folder name \"ContentsCount\" - represents a total number of items in the folder \"UnreadContentsCount\" - represents the number of unread items in the folder. \"Subfolders\" - Indicates whether or not the folder has subfolders \"Read\" - the message is marked as having been read \"HasAttachment\" - the message has at least one attachment \"Unsent\" - the message is still being composed \"Unmodified\" - the message has not been modified since it was first saved (if unsent) or it was delivered (if sent) \"FromMe\" - the user receiving the message was also the user who sent the message \"Resend\" - the message includes a request for a resend operation with a non-delivery report \"NotifyRead\" - the user who sent the message has requested notification when a recipient first reads it \"NotifyUnread\" - the user who sent the message has requested notification when a recipient deletes it before reading or the Message object expires \"EverRead\" - the message has been read at least once The field value (<Field value>) can take the following values: For text fields - any string, For date type fields - the string of \"d-MMM-yyy\" format, ex. \"10-Feb-2009\", For flags (fields of boolean type) - either \"True\", or \"False\"
428+
The query string should have the following view. The example of a simple expression: '<Field name>' <Comparison operator> '<Field value>', where &lt;Field Name&gt; - the name of a message field through which filtering is made, &lt;Comparison operator&gt; - comparison operators, as their name implies, allow to compare message field and specified value, &lt;Field value&gt; - value to be compared with a message field. The number of simple expressions can make a compound one, ex.: (<Simple expression 1> & <Simple expression 2>) | <Simple expression 3 >, where \"&amp;\" - logical-AND operator, \"|\" - logical-OR operator At present the following values are allowed as a field name (<Field name>): \"To\" - represents a TO field of message, \"Text\" - represents string in the header or body of the message, \"Bcc\" - represents a BCC field of message, \"Body\" - represents a string in the body of message, \"Cc\" - represents a CC field of message, \"From\" - represents a From field of message, \"Subject\" - represents a string in the subject of message, \"InternalDate\" - represents an internal date of message, \"SentDate\" - represents a sent date of message Additionally, the following field names are allowed for IMAP-protocol: \"Answered\" - represents an /Answered flag of message \"Seen\" - represents a /Seen flag of message \"Flagged\" - represents a /Flagged flag of message \"Draft\" - represents a /Draft flag of message \"Deleted\" - represents a Deleted/ flag of message \"Recent\" - represents a Deleted/ flag of message \"MessageSize\" - represents a size (in bytes) of message Additionally, the following field names are allowed for Exchange: \"IsRead\" - Indicates whether the message has been read \"HasAttachment\" - Indicates whether or not the message has attachments \"IsSubmitted\" - Indicates whether the message has been submitted to the Outbox \"ContentClass\" - represents a content class of item The field value (<Field value>) can take the following values: For text fields - any string, For date type fields - the string of \"d-MMM-yyy\" format, ex. \"10-Feb-2009\", For flags (fields of boolean type) - either \"True\", or \"False\"
429429

430430
Returns: List of MailMessageBase objects that represent fetched message in requested format.
431431

doc/EmailClientAccount.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ $emailClientAccount = Models::emailClientAccount()
2727
->refreshToken('refreshToken')
2828
->login('example@example.com')
2929
->build())
30+
->cacheFile(Models::storageFileLocation()
31+
->fileName('account.cache')
32+
->storage('First Storage')
33+
->folderPath('file/location/folder/on/storage')
34+
->build())
3035
->build();
3136
```
3237

0 commit comments

Comments
 (0)