NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Trace

data/web/inc/lib/vendor/ddeboer/imap/README.md

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

README.md on main
Author Date Commit Line Code
andryyy over 5 years ago 19843cc

[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication

Full commit hash
19843cc786d20e4728ce9cc06caaa8069637f34b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
1
# PHP IMAP library
Open commit View diff
1 # PHP IMAP library
andryyy over 7 years ago d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2
Open commit View diff
2
andryyy over 5 years ago ee6989b

[Web] Update libs

Full commit hash
ee6989bd1d475d7c555b32d0c123d858f61e2902
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
3
[![Latest Stable Version](https://img.shields.io/packagist/v/ddeboer/imap.svg)](https://packagist.org/packages/ddeboer/imap)
Open commit View diff
3 [![Latest Stable Version](https://img.shields.io/packagist/v/ddeboer/imap.svg)](https://packagist.org/packages/ddeboer/imap)
same change ee6989b

[Web] Update libs

Full commit hash
ee6989bd1d475d7c555b32d0c123d858f61e2902
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
4
[![Downloads](https://img.shields.io/packagist/dt/ddeboer/imap.svg)](https://packagist.org/packages/ddeboer/imap)
Open commit View diff
4 [![Downloads](https://img.shields.io/packagist/dt/ddeboer/imap.svg)](https://packagist.org/packages/ddeboer/imap)
same change ee6989b

[Web] Update libs

Full commit hash
ee6989bd1d475d7c555b32d0c123d858f61e2902
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
5
[![Integrate](https://github.com/ddeboer/imap/workflows/Integrate/badge.svg?branch=master)](https://github.com/ddeboer/imap/actions)
Open commit View diff
5 [![Integrate](https://github.com/ddeboer/imap/workflows/Integrate/badge.svg?branch=master)](https://github.com/ddeboer/imap/actions)
same change ee6989b

[Web] Update libs

Full commit hash
ee6989bd1d475d7c555b32d0c123d858f61e2902
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
6
[![Code Coverage](https://codecov.io/gh/ddeboer/imap/coverage.svg?branch=master)](https://codecov.io/gh/ddeboer/imap?branch=master)
Open commit View diff
6 [![Code Coverage](https://codecov.io/gh/ddeboer/imap/coverage.svg?branch=master)](https://codecov.io/gh/ddeboer/imap?branch=master)
andryyy over 7 years ago d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
7
Open commit View diff
7
andryyy over 5 years ago 19843cc

[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication

Full commit hash
19843cc786d20e4728ce9cc06caaa8069637f34b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
8
A PHP IMAP library to read and process e-mails over IMAP protocol, built with robust Object-Oriented architecture.
Open commit View diff
8 A PHP IMAP library to read and process e-mails over IMAP protocol, built with robust Object-Oriented architecture.
andryyy over 7 years ago d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
9
Open commit View diff
9
andryyy over 5 years ago 19843cc

[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication

Full commit hash
19843cc786d20e4728ce9cc06caaa8069637f34b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
10
This library requires PHP >= 7.4 with [IMAP](https://www.php.net/manual/en/book.imap.php),
Open commit View diff
10 This library requires PHP >= 7.4 with [IMAP](https://www.php.net/manual/en/book.imap.php),
same change 19843cc

[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication

Full commit hash
19843cc786d20e4728ce9cc06caaa8069637f34b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
11
[iconv](https://www.php.net/manual/en/book.iconv.php) and
Open commit View diff
11 [iconv](https://www.php.net/manual/en/book.iconv.php) and
same change 19843cc

[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication

Full commit hash
19843cc786d20e4728ce9cc06caaa8069637f34b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
12
[Multibyte String](https://www.php.net/manual/en/book.mbstring.php) extensions installed.
Open commit View diff
12 [Multibyte String](https://www.php.net/manual/en/book.mbstring.php) extensions installed.
andryyy almost 7 years ago 7a85abd

[Web] Prepare for oauth2

Full commit hash
7a85abdb42c4aa0d92876717c56a053a5d01c94c
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
13
Open commit View diff
13
andryyy over 7 years ago d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
14
## Installation
Open commit View diff
14 ## Installation
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
15
Open commit View diff
15
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
16
The recommended way to install the IMAP library is through [Composer](https://getcomposer.org):
Open commit View diff
16 The recommended way to install the IMAP library is through [Composer](https://getcomposer.org):
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
17
Open commit View diff
17
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
18
```bash
Open commit View diff
18 ```bash
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
19
$ composer require ddeboer/imap
Open commit View diff
19 $ composer require ddeboer/imap
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
20
```
Open commit View diff
20 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
21
Open commit View diff
21
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
22
This command requires you to have Composer installed globally, as explained
Open commit View diff
22 This command requires you to have Composer installed globally, as explained
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
23
in the [installation chapter](https://getcomposer.org/doc/00-intro.md)
Open commit View diff
23 in the [installation chapter](https://getcomposer.org/doc/00-intro.md)
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
24
of the Composer documentation.
Open commit View diff
24 of the Composer documentation.
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
25
Open commit View diff
25
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
26
## Usage
Open commit View diff
26 ## Usage
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
27
Open commit View diff
27
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
28
### Connect and Authenticate
Open commit View diff
28 ### Connect and Authenticate
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
29
Open commit View diff
29
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
30
```php
Open commit View diff
30 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
31
use Ddeboer\Imap\Server;
Open commit View diff
31 use Ddeboer\Imap\Server;
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
32
Open commit View diff
32
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
33
$server = new Server('imap.gmail.com');
Open commit View diff
33 $server = new Server('imap.gmail.com');
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
34
Open commit View diff
34
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
35
// $connection is instance of \Ddeboer\Imap\Connection
Open commit View diff
35 // $connection is instance of \Ddeboer\Imap\Connection
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
36
$connection = $server->authenticate('my_username', 'my_password');
Open commit View diff
36 $connection = $server->authenticate('my_username', 'my_password');
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
37
```
Open commit View diff
37 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
38
Open commit View diff
38
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
39
You can specify port, [flags and parameters](https://secure.php.net/manual/en/function.imap-open.php)
Open commit View diff
39 You can specify port, [flags and parameters](https://secure.php.net/manual/en/function.imap-open.php)
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
40
to the server:
Open commit View diff
40 to the server:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
41
Open commit View diff
41
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
42
```php
Open commit View diff
42 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
43
$server = new Server(
Open commit View diff
43 $server = new Server(
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
44
    $hostname, // required
Open commit View diff
44 $hostname, // required
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
45
    $port,     // defaults to '993'
Open commit View diff
45 $port, // defaults to '993'
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
46
    $flags,    // defaults to '/imap/ssl/validate-cert'
Open commit View diff
46 $flags, // defaults to '/imap/ssl/validate-cert'
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
47
    $parameters
Open commit View diff
47 $parameters
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
48
);
Open commit View diff
48 );
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
49
```
Open commit View diff
49 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
50
Open commit View diff
50
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
51
### Mailboxes
Open commit View diff
51 ### Mailboxes
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
52
Open commit View diff
52
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
53
Retrieve mailboxes (also known as mail folders) from the mail server and iterate
Open commit View diff
53 Retrieve mailboxes (also known as mail folders) from the mail server and iterate
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
54
over them:
Open commit View diff
54 over them:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
55
Open commit View diff
55
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
56
```php
Open commit View diff
56 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
57
$mailboxes = $connection->getMailboxes();
Open commit View diff
57 $mailboxes = $connection->getMailboxes();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
58
Open commit View diff
58
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
59
foreach ($mailboxes as $mailbox) {
Open commit View diff
59 foreach ($mailboxes as $mailbox) {
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
60
    // Skip container-only mailboxes
Open commit View diff
60 // Skip container-only mailboxes
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
61
    // @see https://secure.php.net/manual/en/function.imap-getmailboxes.php
Open commit View diff
61 // @see https://secure.php.net/manual/en/function.imap-getmailboxes.php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
62
    if ($mailbox->getAttributes() & \LATT_NOSELECT) {
Open commit View diff
62 if ($mailbox->getAttributes() & \LATT_NOSELECT) {
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
63
        continue;
Open commit View diff
63 continue;
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
64
    }
Open commit View diff
64 }
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
65
Open commit View diff
65
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
66
    // $mailbox is instance of \Ddeboer\Imap\Mailbox
Open commit View diff
66 // $mailbox is instance of \Ddeboer\Imap\Mailbox
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
67
    printf('Mailbox "%s" has %s messages', $mailbox->getName(), $mailbox->count());
Open commit View diff
67 printf('Mailbox "%s" has %s messages', $mailbox->getName(), $mailbox->count());
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
68
}
Open commit View diff
68 }
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
69
```
Open commit View diff
69 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
70
Open commit View diff
70
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
71
Or retrieve a specific mailbox:
Open commit View diff
71 Or retrieve a specific mailbox:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
72
Open commit View diff
72
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
73
```php
Open commit View diff
73 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
74
$mailbox = $connection->getMailbox('INBOX');
Open commit View diff
74 $mailbox = $connection->getMailbox('INBOX');
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
75
```
Open commit View diff
75 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
76
Open commit View diff
76
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
77
Delete a mailbox:
Open commit View diff
77 Delete a mailbox:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
78
Open commit View diff
78
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
79
```php
Open commit View diff
79 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
80
$connection->deleteMailbox($mailbox);
Open commit View diff
80 $connection->deleteMailbox($mailbox);
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
81
```
Open commit View diff
81 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
82
Open commit View diff
82
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
83
You can bulk set, or clear, any [flag](https://secure.php.net/manual/en/function.imap-setflag-full.php) of mailbox messages (by UIDs):
Open commit View diff
83 You can bulk set, or clear, any [flag](https://secure.php.net/manual/en/function.imap-setflag-full.php) of mailbox messages (by UIDs):
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
84
Open commit View diff
84
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
85
```php
Open commit View diff
85 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
86
$mailbox->setFlag('\\Seen \\Flagged', ['1:5', '7', '9']);
Open commit View diff
86 $mailbox->setFlag('\\Seen \\Flagged', ['1:5', '7', '9']);
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
87
$mailbox->setFlag('\\Seen', '1,3,5,6:8');
Open commit View diff
87 $mailbox->setFlag('\\Seen', '1,3,5,6:8');
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
88
Open commit View diff
88
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
89
$mailbox->clearFlag('\\Flagged', '1,3');
Open commit View diff
89 $mailbox->clearFlag('\\Flagged', '1,3');
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
90
```
Open commit View diff
90 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
91
Open commit View diff
91
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
92
**WARNING** You must retrieve new Message instances in case of bulk modify flags to refresh the single Messages flags.
Open commit View diff
92 **WARNING** You must retrieve new Message instances in case of bulk modify flags to refresh the single Messages flags.
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
93
Open commit View diff
93
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
94
### Messages
Open commit View diff
94 ### Messages
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
95
Open commit View diff
95
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
96
Retrieve messages (e-mails) from a mailbox and iterate over them:
Open commit View diff
96 Retrieve messages (e-mails) from a mailbox and iterate over them:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
97
Open commit View diff
97
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
98
```php
Open commit View diff
98 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
99
$messages = $mailbox->getMessages();
Open commit View diff
99 $messages = $mailbox->getMessages();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
100
Open commit View diff
100
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
101
foreach ($messages as $message) {
Open commit View diff
101 foreach ($messages as $message) {
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
102
    // $message is instance of \Ddeboer\Imap\Message
Open commit View diff
102 // $message is instance of \Ddeboer\Imap\Message
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
103
}
Open commit View diff
103 }
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
104
```
Open commit View diff
104 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
105
Open commit View diff
105
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
106
To insert a new message (that just has been sent) into the Sent mailbox and flag it as seen:
Open commit View diff
106 To insert a new message (that just has been sent) into the Sent mailbox and flag it as seen:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
107
Open commit View diff
107
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
108
```php
Open commit View diff
108 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
109
$mailbox = $connection->getMailbox('Sent');
Open commit View diff
109 $mailbox = $connection->getMailbox('Sent');
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
110
$mailbox->addMessage($messageMIME, '\\Seen');
Open commit View diff
110 $mailbox->addMessage($messageMIME, '\\Seen');
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
111
```
Open commit View diff
111 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
112
Open commit View diff
112
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
113
Note that the message should be a string at MIME format (as described in the [RFC2045](https://tools.ietf.org/html/rfc2045)).
Open commit View diff
113 Note that the message should be a string at MIME format (as described in the [RFC2045](https://tools.ietf.org/html/rfc2045)).
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
114
Open commit View diff
114
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
115
#### Searching for Messages
Open commit View diff
115 #### Searching for Messages
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
116
Open commit View diff
116
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
117
```php
Open commit View diff
117 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
118
use Ddeboer\Imap\SearchExpression;
Open commit View diff
118 use Ddeboer\Imap\SearchExpression;
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
119
use Ddeboer\Imap\Search\Email\To;
Open commit View diff
119 use Ddeboer\Imap\Search\Email\To;
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
120
use Ddeboer\Imap\Search\Text\Body;
Open commit View diff
120 use Ddeboer\Imap\Search\Text\Body;
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
121
Open commit View diff
121
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
122
$search = new SearchExpression();
Open commit View diff
122 $search = new SearchExpression();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
123
$search->addCondition(new To('[email protected]'));
Open commit View diff
123 $search->addCondition(new To('[email protected]'));
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
124
$search->addCondition(new Body('contents'));
Open commit View diff
124 $search->addCondition(new Body('contents'));
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
125
Open commit View diff
125
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
126
$messages = $mailbox->getMessages($search);
Open commit View diff
126 $messages = $mailbox->getMessages($search);
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
127
```
Open commit View diff
127 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
128
Open commit View diff
128
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
129
**WARNING** We are currently unable to have both spaces _and_ double-quotes
Open commit View diff
129 **WARNING** We are currently unable to have both spaces _and_ double-quotes
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
130
escaped together. Only spaces are currently escaped correctly.
Open commit View diff
130 escaped together. Only spaces are currently escaped correctly.
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
131
You can use `Ddeboer\Imap\Search\RawExpression` to write the complete search
Open commit View diff
131 You can use `Ddeboer\Imap\Search\RawExpression` to write the complete search
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
132
condition by yourself.
Open commit View diff
132 condition by yourself.
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
133
Open commit View diff
133
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
134
Messages can also be retrieved sorted as per [imap_sort](https://secure.php.net/manual/en/function.imap-sort.php)
Open commit View diff
134 Messages can also be retrieved sorted as per [imap_sort](https://secure.php.net/manual/en/function.imap-sort.php)
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
135
function:
Open commit View diff
135 function:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
136
Open commit View diff
136
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
137
```php
Open commit View diff
137 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
138
$today = new DateTimeImmutable();
Open commit View diff
138 $today = new DateTimeImmutable();
andryyy about 6 years ago 667bd48

[Web] Update libs

Full commit hash
667bd4816321b2c853a25d25555c4440f482ab07
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
139
$thirtyDaysAgo = $today->sub(new DateInterval('P30D'));
Open commit View diff
139 $thirtyDaysAgo = $today->sub(new DateInterval('P30D'));
andryyy over 7 years ago d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
140
Open commit View diff
140
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
141
$messages = $mailbox->getMessages(
Open commit View diff
141 $messages = $mailbox->getMessages(
andryyy about 6 years ago 667bd48

[Web] Update libs

Full commit hash
667bd4816321b2c853a25d25555c4440f482ab07
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
142
    new Ddeboer\Imap\Search\Date\Since($thirtyDaysAgo),
Open commit View diff
142 new Ddeboer\Imap\Search\Date\Since($thirtyDaysAgo),
andryyy over 7 years ago d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
143
    \SORTDATE, // Sort criteria
Open commit View diff
143 \SORTDATE, // Sort criteria
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
144
    true // Descending order
Open commit View diff
144 true // Descending order
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
145
);
Open commit View diff
145 );
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
146
```
Open commit View diff
146 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
147
Open commit View diff
147
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
148
#### Unknown search criterion: OR
Open commit View diff
148 #### Unknown search criterion: OR
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
149
Open commit View diff
149
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
150
Note that PHP imap library relies on the `c-client` library available at https://www.washington.edu/imap/
Open commit View diff
150 Note that PHP imap library relies on the `c-client` library available at https://www.washington.edu/imap/
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
151
which doesn't fully support some IMAP4 search criteria like `OR`. If you want those unsupported criteria,
Open commit View diff
151 which doesn't fully support some IMAP4 search criteria like `OR`. If you want those unsupported criteria,
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
152
you need to manually patch the latest version (`imap-2007f` of 23-Jul-2011 at the time of this commit)
Open commit View diff
152 you need to manually patch the latest version (`imap-2007f` of 23-Jul-2011 at the time of this commit)
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
153
and recompile PHP onto your patched `c-client` library.
Open commit View diff
153 and recompile PHP onto your patched `c-client` library.
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
154
Open commit View diff
154
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
155
By the way most of the common search criteria are available and functioning, browse them in `./src/Search`.
Open commit View diff
155 By the way most of the common search criteria are available and functioning, browse them in `./src/Search`.
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
156
Open commit View diff
156
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
157
References:
Open commit View diff
157 References:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
158
Open commit View diff
158
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
159
1. https://stackoverflow.com/questions/36356715/imap-search-unknown-search-criterion-or
Open commit View diff
159 1. https://stackoverflow.com/questions/36356715/imap-search-unknown-search-criterion-or
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
160
1. imap-2007f.tar.gz: `./src/c-client/mail.c` and `./docs/internal.txt`
Open commit View diff
160 1. imap-2007f.tar.gz: `./src/c-client/mail.c` and `./docs/internal.txt`
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
161
Open commit View diff
161
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
162
#### Message Properties and Operations
Open commit View diff
162 #### Message Properties and Operations
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
163
Open commit View diff
163
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
164
Get message number and unique [message id](https://en.wikipedia.org/wiki/Message-ID)
Open commit View diff
164 Get message number and unique [message id](https://en.wikipedia.org/wiki/Message-ID)
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
165
in the form <...>:
Open commit View diff
165 in the form <...>:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
166
Open commit View diff
166
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
167
```php
Open commit View diff
167 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
168
$message->getNumber();
Open commit View diff
168 $message->getNumber();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
169
$message->getId();
Open commit View diff
169 $message->getId();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
170
```
Open commit View diff
170 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
171
Open commit View diff
171
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
172
Get other message properties:
Open commit View diff
172 Get other message properties:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
173
Open commit View diff
173
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
174
```php
Open commit View diff
174 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
175
$message->getSubject();
Open commit View diff
175 $message->getSubject();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
176
$message->getFrom();    // Message\EmailAddress
Open commit View diff
176 $message->getFrom(); // Message\EmailAddress
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
177
$message->getTo();      // array of Message\EmailAddress
Open commit View diff
177 $message->getTo(); // array of Message\EmailAddress
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
178
$message->getDate();    // DateTimeImmutable
Open commit View diff
178 $message->getDate(); // DateTimeImmutable
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
179
$message->isAnswered();
Open commit View diff
179 $message->isAnswered();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
180
$message->isDeleted();
Open commit View diff
180 $message->isDeleted();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
181
$message->isDraft();
Open commit View diff
181 $message->isDraft();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
182
$message->isSeen();
Open commit View diff
182 $message->isSeen();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
183
```
Open commit View diff
183 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
184
Open commit View diff
184
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
185
Get message headers as a [\Ddeboer\Imap\Message\Headers](/src/Ddeboer/Imap/Message/Headers.php) object:
Open commit View diff
185 Get message headers as a [\Ddeboer\Imap\Message\Headers](/src/Ddeboer/Imap/Message/Headers.php) object:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
186
Open commit View diff
186
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
187
```php
Open commit View diff
187 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
188
$message->getHeaders();
Open commit View diff
188 $message->getHeaders();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
189
```
Open commit View diff
189 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
190
Open commit View diff
190
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
191
Get message body as HTML or plain text:
Open commit View diff
191 Get message body as HTML or plain text:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
192
Open commit View diff
192
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
193
```php
Open commit View diff
193 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
194
$message->getBodyHtml();    // Content of text/html part, if present
Open commit View diff
194 $message->getBodyHtml(); // Content of text/html part, if present
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
195
$message->getBodyText();    // Content of text/plain part, if present
Open commit View diff
195 $message->getBodyText(); // Content of text/plain part, if present
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
196
```
Open commit View diff
196 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
197
Open commit View diff
197
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
198
Reading the message body keeps the message as unseen.
Open commit View diff
198 Reading the message body keeps the message as unseen.
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
199
If you want to mark the message as seen:
Open commit View diff
199 If you want to mark the message as seen:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
200
Open commit View diff
200
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
201
```php
Open commit View diff
201 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
202
$message->markAsSeen();
Open commit View diff
202 $message->markAsSeen();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
203
```
Open commit View diff
203 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
204
Open commit View diff
204
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
205
Or you can set, or clear, any [flag](https://secure.php.net/manual/en/function.imap-setflag-full.php):
Open commit View diff
205 Or you can set, or clear, any [flag](https://secure.php.net/manual/en/function.imap-setflag-full.php):
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
206
Open commit View diff
206
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
207
```php
Open commit View diff
207 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
208
$message->setFlag('\\Seen \\Flagged');
Open commit View diff
208 $message->setFlag('\\Seen \\Flagged');
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
209
$message->clearFlag('\\Flagged');
Open commit View diff
209 $message->clearFlag('\\Flagged');
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
210
```
Open commit View diff
210 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
211
Open commit View diff
211
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
212
Move a message to another mailbox:
Open commit View diff
212 Move a message to another mailbox:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
213
Open commit View diff
213
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
214
```php
Open commit View diff
214 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
215
$mailbox = $connection->getMailbox('another-mailbox');
Open commit View diff
215 $mailbox = $connection->getMailbox('another-mailbox');
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
216
$message->move($mailbox);
Open commit View diff
216 $message->move($mailbox);
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
217
```
Open commit View diff
217 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
218
Open commit View diff
218
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
219
Deleting messages:
Open commit View diff
219 Deleting messages:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
220
Open commit View diff
220
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
221
```php
Open commit View diff
221 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
222
$mailbox->getMessage(1)->delete();
Open commit View diff
222 $mailbox->getMessage(1)->delete();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
223
$mailbox->getMessage(2)->delete();
Open commit View diff
223 $mailbox->getMessage(2)->delete();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
224
$connection->expunge();
Open commit View diff
224 $connection->expunge();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
225
```
Open commit View diff
225 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
226
Open commit View diff
226
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
227
### Message Attachments
Open commit View diff
227 ### Message Attachments
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
228
Open commit View diff
228
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
229
Get message attachments (both inline and attached) and iterate over them:
Open commit View diff
229 Get message attachments (both inline and attached) and iterate over them:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
230
Open commit View diff
230
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
231
```php
Open commit View diff
231 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
232
$attachments = $message->getAttachments();
Open commit View diff
232 $attachments = $message->getAttachments();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
233
Open commit View diff
233
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
234
foreach ($attachments as $attachment) {
Open commit View diff
234 foreach ($attachments as $attachment) {
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
235
    // $attachment is instance of \Ddeboer\Imap\Message\Attachment
Open commit View diff
235 // $attachment is instance of \Ddeboer\Imap\Message\Attachment
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
236
}
Open commit View diff
236 }
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
237
```
Open commit View diff
237 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
238
Open commit View diff
238
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
239
Download a message attachment to a local file:
Open commit View diff
239 Download a message attachment to a local file:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
240
Open commit View diff
240
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
241
```php
Open commit View diff
241 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
242
// getDecodedContent() decodes the attachment’s contents automatically:
Open commit View diff
242 // getDecodedContent() decodes the attachment’s contents automatically:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
243
file_put_contents(
Open commit View diff
243 file_put_contents(
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
244
    '/my/local/dir/' . $attachment->getFilename(),
Open commit View diff
244 '/my/local/dir/' . $attachment->getFilename(),
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
245
    $attachment->getDecodedContent()
Open commit View diff
245 $attachment->getDecodedContent()
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
246
);
Open commit View diff
246 );
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
247
```
Open commit View diff
247 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
248
Open commit View diff
248
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
249
### Embedded Messages
Open commit View diff
249 ### Embedded Messages
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
250
Open commit View diff
250
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
251
Check if attachment is embedded message and get it:
Open commit View diff
251 Check if attachment is embedded message and get it:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
252
Open commit View diff
252
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
253
```php
Open commit View diff
253 ```php
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
254
$attachments = $message->getAttachments();
Open commit View diff
254 $attachments = $message->getAttachments();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
255
Open commit View diff
255
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
256
foreach ($attachments as $attachment) {
Open commit View diff
256 foreach ($attachments as $attachment) {
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
257
    if ($attachment->isEmbeddedMessage()) {
Open commit View diff
257 if ($attachment->isEmbeddedMessage()) {
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
258
        $embeddedMessage = $attachment->getEmbeddedMessage();
Open commit View diff
258 $embeddedMessage = $attachment->getEmbeddedMessage();
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
259
        // $embeddedMessage is instance of \Ddeboer\Imap\Message\EmbeddedMessage
Open commit View diff
259 // $embeddedMessage is instance of \Ddeboer\Imap\Message\EmbeddedMessage
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
260
    }
Open commit View diff
260 }
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
261
}
Open commit View diff
261 }
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
262
```
Open commit View diff
262 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
263
Open commit View diff
263
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
264
An EmbeddedMessage has the same API as a normal Message, apart from flags
Open commit View diff
264 An EmbeddedMessage has the same API as a normal Message, apart from flags
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
265
and operations like copy, move or delete.
Open commit View diff
265 and operations like copy, move or delete.
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
266
Open commit View diff
266
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
267
### Timeouts
Open commit View diff
267 ### Timeouts
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
268
Open commit View diff
268
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
269
The IMAP extension provides the [imap_timeout](https://secure.php.net/manual/en/function.imap-timeout.php)
Open commit View diff
269 The IMAP extension provides the [imap_timeout](https://secure.php.net/manual/en/function.imap-timeout.php)
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
270
function to adjust the timeout seconds for various operations.
Open commit View diff
270 function to adjust the timeout seconds for various operations.
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
271
Open commit View diff
271
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
272
However the extension's implementation doesn't link the functionality to a
Open commit View diff
272 However the extension's implementation doesn't link the functionality to a
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
273
specific context or connection, instead they are global. So in order to not
Open commit View diff
273 specific context or connection, instead they are global. So in order to not
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
274
affect functionalities outside this library, we had to choose whether wrap
Open commit View diff
274 affect functionalities outside this library, we had to choose whether wrap
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
275
every `imap_*` call around an optional user-provided timeout or leave this
Open commit View diff
275 every `imap_*` call around an optional user-provided timeout or leave this
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
276
task to the user.
Open commit View diff
276 task to the user.
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
277
Open commit View diff
277
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
278
Because of the heterogeneous world of IMAP servers and the high complexity
Open commit View diff
278 Because of the heterogeneous world of IMAP servers and the high complexity
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
279
burden cost for such a little gain of the former, we chose the latter.
Open commit View diff
279 burden cost for such a little gain of the former, we chose the latter.
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
280
Open commit View diff
280
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
281
## Mock the library
Open commit View diff
281 ## Mock the library
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
282
Open commit View diff
282
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
283
Mockability is granted by interfaces present for each API.
Open commit View diff
283 Mockability is granted by interfaces present for each API.
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
284
Dig into [MockabilityTest](tests/MockabilityTest.php) for an example of a
Open commit View diff
284 Dig into [MockabilityTest](tests/MockabilityTest.php) for an example of a
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
285
mocked workflow.
Open commit View diff
285 mocked workflow.
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
286
Open commit View diff
286
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
287
## Running the Tests
Open commit View diff
287 ## Running the Tests
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
288
Open commit View diff
288
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
289
This library is functionally tested on [Travis CI](https://travis-ci.org/ddeboer/imap)
Open commit View diff
289 This library is functionally tested on [Travis CI](https://travis-ci.org/ddeboer/imap)
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
290
against a local Dovecot server.
Open commit View diff
290 against a local Dovecot server.
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
291
Open commit View diff
291
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
292
If you have your own IMAP (test) account, you can run the tests locally by
Open commit View diff
292 If you have your own IMAP (test) account, you can run the tests locally by
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
293
providing your IMAP credentials:
Open commit View diff
293 providing your IMAP credentials:
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
294
Open commit View diff
294
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
295
```bash
Open commit View diff
295 ```bash
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
296
$ composer install
Open commit View diff
296 $ composer install
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
297
$ IMAP_SERVER_NAME="my.imap.server.com" IMAP_SERVER_PORT="60993" IMAP_USERNAME="johndoe" IMAP_PASSWORD="p4ssword" vendor/bin/phpunit
Open commit View diff
297 $ IMAP_SERVER_NAME="my.imap.server.com" IMAP_SERVER_PORT="60993" IMAP_USERNAME="johndoe" IMAP_PASSWORD="p4ssword" vendor/bin/phpunit
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
298
```
Open commit View diff
298 ```
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
299
Open commit View diff
299
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
300
You can also copy `phpunit.xml.dist` file to a custom `phpunit.xml` and put
Open commit View diff
300 You can also copy `phpunit.xml.dist` file to a custom `phpunit.xml` and put
andryyy over 5 years ago 19843cc

[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication

Full commit hash
19843cc786d20e4728ce9cc06caaa8069637f34b
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
301
these environment variables in it.
Open commit View diff
301 these environment variables in it.
andryyy over 7 years ago d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
302
Open commit View diff
302
same change d82c2bf

[Web] Adjust mailbox format

Full commit hash
d82c2bfdb7a8432ee72b7a2407ce152057b15572
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
303
**WARNING** Tests create new mailboxes without removing them.
Open commit View diff
303 **WARNING** Tests create new mailboxes without removing them.
andryyy over 7 years ago ad0df77

[Web] Minify css and js via PHP

Full commit hash
ad0df77d2823e279dd17fe86d9efd594efc45599
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
304
Open commit View diff
304
same change ad0df77

[Web] Minify css and js via PHP

Full commit hash
ad0df77d2823e279dd17fe86d9efd594efc45599
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
305
```
Open commit View diff
305 ```
same change ad0df77

[Web] Minify css and js via PHP

Full commit hash
ad0df77d2823e279dd17fe86d9efd594efc45599
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
306
$ docker-compose run tests
Open commit View diff
306 $ docker-compose run tests
same change ad0df77

[Web] Minify css and js via PHP

Full commit hash
ad0df77d2823e279dd17fe86d9efd594efc45599
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
307
```
Open commit View diff
307 ```