Skip to content

Commit

Permalink
Add upgrade hint for MAIL_DRIVER -> MAIL_MAILER
Browse files Browse the repository at this point in the history
  • Loading branch information
Kovah committed Feb 1, 2025
1 parent f0fe840 commit 4092890
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions content/docs/v2/configuration/env-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ AWS_DUAL_STACK_ENDPOINT=[true/false]
## Mail configuration
[email protected]
MAIL_FROM_NAME=LinkAce
# Set the driver used for sending email here, default is `smtp`
MAIL_DRIVER=smtp
# Set the driver used for sending email here, default is `log`
MAIL_MAILER=smtp
# Set the SMTP host and its port here
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
Expand Down
2 changes: 1 addition & 1 deletion content/docs/v2/setup/post-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Please add the following block to your .env file and change the values according
|:--|:--|:--|:--|
| `MAIL_FROM_ADDRESS` | any email address | `[email protected]` | The email address you are sending from |
| `MAIL_FROM_NAME` | any string | `LinkAce` | The name you are sending from |
| `MAIL_DRIVER` | `log`, `smtp`, `sendmail`, `mailgun`, `ses`, `postmark` | `smtp` | The method of sending email, more details see [the Mail configuration docs](https://laravel.com/docs/9.x/mail) |
| `MAIL_MAILER` | `log`, `smtp`, `sendmail`, `mailgun`, `ses`, `postmark` | `smtp` | The method of sending email, more details see [the Mail configuration docs](https://laravel.com/docs/9.x/mail) |
| `MAIL_HOST` | any string | `smtp.mailgun.org` | SMTP only: the host sending email from |
| `MAIL_PORT` | any number | `587` | SMTP only: the post for connecting to the host |
| `MAIL_USERNAME` | any string | none | SMTP only: the username for connecting to the host |
Expand Down
1 change: 1 addition & 0 deletions content/docs/v2/upgrade/from-v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ There will be absolutely **no help to restore** your old LinkAce installation an
However, if you have Guest Mode disabled, public links will become `internal`. This means they are visible to all logged-in users, but not to guests.
- Your current user will become the primary administrator who can now control advanced system settings, as well as inviting new users to LinkAce.
- The API was updated to version `v2`. Any existing integrations must be checked and adjusted if needed. The documentation can be found [here]({{< param "ApiDocsV2" >}}).
- `MAIL_DRIVER` needs to be replaced with `MAIL_MAILER`, but the values stays the same. Example: `MAIL_DRIVER=smtp` becomes `MAIL_MAILER=smtp`.

## Select your current installation method

Expand Down

0 comments on commit 4092890

Please sign in to comment.