Skip to content

Commit 6bf5353

Browse files
committed
Update README.md
1 parent 43d4a49 commit 6bf5353

File tree

1 file changed

+17
-22
lines changed

1 file changed

+17
-22
lines changed

README.md

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,33 @@
1+
[![run-tests](https://github.com/inlinestudio/laravel-api-mailer-connectors/actions/workflows/run-tests.yml/badge.svg)](https://github.com/inlinestudio/laravel-api-mailer-connectors/actions/workflows/run-tests.yml)
2+
[![codecov](https://codecov.io/gh/inlinestudio/laravel-api-mailer-connectors/branch/main/graph/badge.svg?token=CytArLiyWH)](https://codecov.io/gh/inlinestudio/laravel-api-mailer-connectors)
3+
# Laravel Microsoft Graph Mail driver - Mail Driver for Office365 and (soon) Google
14

2-
# Laravel Microsoft Graph Mail driver - Mail Driver for Office365
35

6+
Mail driver for the [Laravel framework](https://laravel.com/) to send emails using Microsoft Graph without user authentication and SMTP. Only specify the E-Mail-Address in the FROM-Header of the E-Mail and this package will send the email trough the providers API and put the sent E-Mail in the sender's Mailbox sent folder.
47

5-
Mail driver for the [Laravel framework](https://laravel.com/) to send emails using Microsoft Graph without user authentication and SMTP. Only specify the E-Mail-Address in the FROM-Header of the E-Mail and this Office 365 Package will send the E-Mail trough the Microsoft Graph-Api and put the sent E-Mail in the sender's Mailbox sent folder.
6-
7-
**Key features:**
8+
**O365 Key features:**
89

910
- Send E-Mails with the Microsoft Graph-Api instead of the SMTP driver
1011
- Automatically puts the E-Mail in the Sent folder of the user in the From-Header
1112
- One Application per Organization
1213
- Supports multiple Domains
1314
- Supports large file attachments
14-
- Faster and Error-less than the Office-365 SMTP
15-
16-
To use this package you have to register your application [here](https://go.microsoft.com/fwlink/?linkid=2083908). More informations [here](https://docs.microsoft.com/en-us/graph/auth-register-app-v2).
17-
15+
- Faster and Error-less than the SMTP protocol
1816

17+
---
1918

2019
## Install the Package
21-
22-
You can install the package with Composer, either run `composer require inlinestudio/mailconnectors`, or edit your `composer.json` file:
23-
24-
### Laravel 9
25-
26-
For Laravel 9 please use
27-
2820
```
29-
{
30-
"require": {
31-
"inlinestudio/mailconnectors": "^1.0"
32-
}
33-
}
21+
composer require inlinestudio/mailconnectors
3422
```
35-
23+
---
3624

3725
## Configure
3826

3927

28+
### O365
29+
30+
To use this package you have to register your application [here](https://go.microsoft.com/fwlink/?linkid=2083908). More informations [here](https://docs.microsoft.com/en-us/graph/auth-register-app-v2).
4031

4132
To obtain needed config values use this [instructions](https://docs.microsoft.com/en-us/graph/auth-v2-service):
4233

@@ -57,14 +48,18 @@ OFFICE365MAIL_TENANT=YOUR-MS-GRAPH-TENANT-ID
5748
OFFICE365MAIL_CLIENT_SECRET=YOUR-MS-GRAPH-CLIENT-SECRET
5849
```
5950

60-
### config/mail.php - add to mailer configuration array (https://github.com/laravel/laravel/blob/7.x/config/mail.php)
51+
#### config/mail.php - add to mailer configuration array
6152

6253
```
6354
'O365' => [
6455
'transport' => 'O365',
6556
],
6657
```
6758

59+
---
60+
### Google (soon)
61+
---
62+
6863
## Copyright and license
6964

7065
Copyright © InlineStudio. All Rights Reserved. Licensed under the MIT [license](LICENSE).

0 commit comments

Comments
 (0)