You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-2
Original file line number
Diff line number
Diff line change
@@ -15,14 +15,17 @@ You can install the package via composer:
15
15
```bash
16
16
composer require innoge/laravel-msgraph-mail
17
17
```
18
+
18
19
### Compatibility
20
+
19
21
Laravel 10.x and 9.x are supported.
20
22
21
23
## Configuration
22
24
23
25
### Register the Azure App
24
26
25
27
### Microsoft Azure AD Configuration
28
+
26
29
I have written a detailed Blog Post how you can configure your Microsoft Azure AD Tenant. [Sending Mails with Laravel and Microsoft Office 365 the secure way](https://geisi.dev/blog/getting-rid-of-deprecated-microsoft-office-365-smtp-mail-sending)
27
30
28
31
### I want to figure it out on my own
@@ -50,12 +53,17 @@ First you need to add a new entry to the mail drivers array in your `config/mail
For the `client_id`, `client_secret` and `tenant_id` you need to use the values from the Azure App you created in the
57
61
previous step.
58
62
63
+
The `save_to_sent_items` option in Microsoft Graph refers to a parameter that determines whether a sent email should be saved to the sender's "Sent Items" folder within their mailbox. When this option is set to true, the email will be automatically saved to the "Sent Items" folder, providing a record of the communication. Conversely, when it's set to false, the email will not be saved to the "Sent Items" folder.
64
+
65
+
By default, the save_to_sent_items option is set to false, which means that emails sent through Microsoft Graph won't be saved in the sender's "Sent Items" folder unless explicitly specified otherwise. This behavior can be useful in scenarios where you might want more control over which emails are saved as sent items, perhaps to reduce clutter or ensure confidentiality.
66
+
59
67
Now you can switch your default mail driver to the new `microsoft-graph` driver by setting the env variable:
60
68
61
69
```dotenv
@@ -82,8 +90,8 @@ Please review [our security policy](../../security/policy) on how to report secu
0 commit comments