Skip to content

Commit 3391e8a

Browse files
committed
Links updated and typos fixed
1 parent 5d9610d commit 3391e8a

File tree

1 file changed

+22
-27
lines changed

1 file changed

+22
-27
lines changed

README.md

Lines changed: 22 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ You might also want to check `phpinfo()` if the extension is enabled.
7070
composer require webklex/laravel-imap
7171
```
7272

73-
3) If you're running Laravel >= 5.5, package discovery will configure the service provider and `Client` alias out of the box.
73+
3) If you're using Laravel >= 5.5, package discovery will configure the service provider and `Client` alias out of the box.
7474

7575
Otherwise, for Laravel <= 5.4, edit your `config/app.php` file and:
7676

@@ -118,30 +118,30 @@ The following encryption methods are supported:
118118
- `notls` &mdash; Use NoTLS
119119

120120
Detailed [config/imap.php](src/config/imap.php) configuration:
121-
- `default` &mdash; used default account. It will be used as default for any missing account parameters. If however the default account is missing a parameter the package default will be used. Set to `false` to disable this functionality.
121+
- `default` &mdash; used default account. It will be used as default for any missing account parameters. If however the default account isn't set, the library defaults will be used instead. Set to `false` to disable this behavior.
122122
- `accounts` &mdash; all available accounts
123-
- `default` &mdash; The account identifier (in this case `default` but could also be `fooBar` etc).
124-
- `host` &mdash; imap host
125-
- `port` &mdash; imap port
123+
- `default` &mdash; account identifier (in this case `default` but could also be `fooBar` etc).
124+
- `host` &mdash; server host
125+
- `port` &mdash; server port
126126
- `encryption` &mdash; desired encryption method
127127
- `validate_cert` &mdash; decide weather you want to verify the certificate or not
128-
- `username` &mdash; imap account username
129-
- `password` &mdash; imap account password
130-
- `date_format` &mdash; The default date format is used to convert any given Carbon::class object into a valid date string. (`d-M-Y`, `d-M-y`, `d M y`)
128+
- `username` &mdash; account username
129+
- `password` &mdash; account password
130+
- `date_format` &mdash; default date format. Used to convert any given Carbon::class object into a valid date string. (`d-M-Y`, `d-M-y`, `d M y`)
131131
- `options` &mdash; additional fetch options
132-
- `delimiter` &mdash; you can use any supported char such as ".", "/", etc
132+
- `delimiter` &mdash; folder / mailbox delimiter. You can use any supported char such as ".", "/", etc
133133
- `fetch` &mdash; `IMAP::FT_UID` (message marked as read by fetching the message) or `IMAP::FT_PEEK` (fetch the message without setting the "read" flag)
134-
- `fetch_body` &mdash; If set to `false` all messages will be fetched without the body and any potential attachments
135-
- `fetch_attachment` &mdash; If set to `false` all messages will be fetched without any attachments
136-
- `fetch_flags` &mdash; If set to `false` all messages will be fetched without any flags
134+
- `fetch_body` &mdash; if set to `false` all messages will be fetched without the body and any potential attachments
135+
- `fetch_attachment` &mdash; if set to `false` all messages will be fetched without any attachments
136+
- `fetch_flags` &mdash; if set to `false` all messages will be fetched without any flags
137137
- `message_key` &mdash; Message key identifier option
138138
- `fetch_order` &mdash; Message fetch order
139139
- `open` &mdash; special configuration for imap_open()
140-
- `DISABLE_AUTHENTICATOR` &mdash; Disable authentication properties.
141-
- `decoder` &mdash; Currently only the message subject and attachment name decoder can be set
142-
- `masks` &mdash; Default [masking](#masking) config
143-
- `message` &mdash; Default message mask
144-
- `attachment` &mdash; Default attachment mask
140+
- `DISABLE_AUTHENTICATOR` &mdash; disable authentication properties.
141+
- `decoder` &mdash; currently only the message subject and attachment name decoder can be set
142+
- `masks` &mdash; default [masking](#masking) config
143+
- `message` &mdash; default message mask
144+
- `attachment` &mdash; default attachment mask
145145

146146
## Usage
147147
#### Basic usage example
@@ -208,8 +208,8 @@ $oClient->connect();
208208

209209
#### Folder / Mailbox
210210
There is an experimental function available to get a Folder instance by name.
211-
For an easier access please take a look at the new config option `imap.options.delimiter` however the `getFolder`
212-
method takes three options: the required (string) $folder_name and two optional variables. An integer $attributes which
211+
For an easier access please take a look at the new config option `imap.options.delimiter`. The `Client::getFolder`
212+
method takes three arguments: the required (string) $folder_name and two optional variables. An integer $attributes which
213213
seems to be sometimes 32 or 64 (I honestly have no clue what this number does, so feel free to enlighten me and anyone
214214
else) and a delimiter which if it isn't set will use the default option configured inside the [config/imap.php](src/config/imap.php) file.
215215
> If you are using Exchange you might want to set all parameter and the last `$prefix_address` to `false` e.g. `$oClient->getFolder('name', 32, null, false)` #234
@@ -413,7 +413,7 @@ $paginator = $oFolder->search()
413413
> You can also paginate a Folder-, Attachment- or FlagCollection instance.
414414
415415
#### View examples
416-
You can find a few blade examples under [/examples](https://github.com/Webklex/laravel-imap/tree/master/examples).
416+
You can find a few blade examples under [examples](examples).
417417

418418
#### Fetch a specific message
419419
Get a specific message by uid (Please note that the uid is not unique and can change):
@@ -550,8 +550,8 @@ echo $mask->token().'@'.$mask->uid;
550550
```
551551

552552
Additional examples can be found here:
553-
- [Custom message mask](https://github.com/Webklex/laravel-imap/blob/master/examples/custom_message_mask.php)
554-
- [Custom attachment mask](https://github.com/Webklex/laravel-imap/blob/master/examples/custom_attachment_mask.php)
553+
- [Custom message mask](examples/custom_message_mask.php)
554+
- [Custom attachment mask](examples/custom_attachment_mask.php)
555555

556556

557557
#### Idle
@@ -886,17 +886,12 @@ The MIT License (MIT). Please see [License File](LICENSE.md) for more informatio
886886
[ico-version]: https://img.shields.io/packagist/v/webklex/laravel-imap.svg?style=flat-square
887887
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
888888
[ico-travis]: https://img.shields.io/travis/Webklex/laravel-imap/master.svg?style=flat-square
889-
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/Webklex/laravel-imap.svg?style=flat-square
890-
[ico-code-quality]: https://img.shields.io/scrutinizer/g/Webklex/laravel-imap.svg?style=flat-square
891889
[ico-downloads]: https://img.shields.io/packagist/dt/Webklex/laravel-imap.svg?style=flat-square
892-
[ico-gittip]: http://img.shields.io/gittip/webklex.svg
893890
[ico-hits]: https://hits.webklex.com/svg/webklex/laravel-imap?
894891
[png-jetbrains]: https://www.webklex.com/jetbrains.png
895892

896893
[link-packagist]: https://packagist.org/packages/Webklex/laravel-imap
897894
[link-travis]: https://travis-ci.org/Webklex/laravel-imap
898-
[link-scrutinizer]: https://scrutinizer-ci.com/g/Webklex/laravel-imap/code-structure
899-
[link-code-quality]: https://scrutinizer-ci.com/g/Webklex/laravel-imap
900895
[link-downloads]: https://packagist.org/packages/Webklex/laravel-imap
901896
[link-hits]: https://hits.webklex.com
902897
[link-author]: https://github.com/webklex

0 commit comments

Comments
 (0)