60 Commits

Author SHA1 Message Date
Mior Muhammad Zaki
eb8085cf77
[11.x] Update config/mail.php with supported configuration (#6506)
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
2024-12-13 07:57:40 -06:00
Ricardo Čerljenko
b651fb109c
updated mail config (#6402) 2024-05-16 16:36:21 -05:00
Taylor Otwell
e7cc5778a0 resend 2024-05-03 12:14:44 -05:00
Jonathan Goode
3cb22426e1
Add missing roundrobin transport driver config (#6392) 2024-04-09 09:13:45 -05:00
Nuno Maduro
9ec283d28e
Uses env on postmark email commented code as docs (#6350) 2024-02-25 08:09:51 -06:00
Taylor Otwell
f437205a5e slim configuration 2024-02-23 14:35:25 -06:00
Taylor Otwell
96508d43ec wip 2024-02-23 11:53:06 -06:00
Taylor Otwell
428a190050
[11.x] Slim skeleton (#6188)
See: https://github.com/laravel/framework/pull/47309

# Laravel 11 Skeleton Overview

### General Notes

More environment variables have been added to the `.env.example` file. 

The default `QUEUE_CONNECTION` variable value has been updated to `database` instead of `sync`.

The `BROADCAST_DRIVER` and `CACHE_DRIVER` environment variables have been renamed to `BROADCAST_CONNECTION` and `CACHE_STORE`, respectively.

The HTTP Kernel has been removed. Configuration that was previously done in this file can be done in the `bootstrap/app.php` file, including registering / replacing middleware.

The console kernel has been removed. Schedules can be defined in the console “routes” file. Commands generated by `make:command` are automatically loaded and do not require registration. Additional command loading paths can be registered in the `bootstrap/app.php` file.

The exception handler has been removed. Exception handling behavior can be configured in the `bootstrap/app.php` file via `reportable`, `renderable`, `throttle`, and more. Callbacks received by these functions will have their type hints inspected to see if they handle a given exception.

The base HTTP controller no longer extends any other classes (requiring new middleware definition feature). No traits are included by default on the base controller. Authorization can be done using facades, or traits can be added manually.

All middleware has been removed. Configuration of these middleware’s behavior can be done via static methods on the middleware themselves (see framework notes).

The `User` model now utilizes a `casts` method instead of a property. The `HasApiTokens` trait has been removed by default since Sanctum is not installed by default.

All service providers except the `AppServiceProvider` have been removed. Policies are auto-discovered and gates can be registered in `AppServiceProvider`. Likewise, events can be registered in `AppServiceProvider`. Routing behavior is now determined / customized in the `bootstrap/app.php` file.

New `bootstrap/app.php` file can be used to customize core framework behavior like routing, container bindings, middleware, and exception handling.

Sanctum is no longer installed by default (see `install:api`).

Configuration files are not present by default. Can be published by `config:publish` command. Default values are present in the framework and application level configuration now cascades with framework definitions, so only customized values need be present in application level configuration files.

Migration files have been re-dated to be evergreen. The `password_reset_tokens` table migration has been combined into the `users` table migration file. Likewise, the `jobs` table migration has been combined into a single migration with the `failed_jobs` table.

Echo bootstrapping has been removed by default. It is re-inserted by new `install:broadcasting` command.

API and channel routes files are not present by default, can be recreated by `install:api` and `install:broadcasting` respectively.
2023-11-28 14:28:15 -06:00
Taylor Otwell
17f94e3081 fix conflicts 2023-08-31 12:06:32 -05:00
Ninja
32ecad53a9
Postmark mailer configuraiton update. (#6228)
* Update mail.php

ref https://github.com/craigpaul/laravel-postmark/issues/141

* Update mail.php

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2023-08-21 14:34:28 -05:00
Jacob Müller
e96d21dd2d
[11.x]: Use ses-v2 as default ses mail transport (#6205) 2023-06-26 16:40:07 -05:00
Saya
150e379ce2
Update mail.php (#6170) 2023-05-05 12:42:51 -05:00
Taylor Otwell
1bb530c609
Revert "add ses-v2 mailer in config (#6112)" (#6115)
This reverts commit a1ef009415003fe981fc0f4a60ce9c4faf35f9f1.
2023-02-17 08:38:44 -06:00
Ankur Kumar
a1ef009415
add ses-v2 mailer in config (#6112) 2023-02-17 08:38:29 -06:00
Jonathan Goode
c909b037ae
Missing comma (#6111) 2023-02-17 08:47:16 +01:00
Taylor Otwell
9c4cef107f note ses-v2 2023-02-14 13:04:45 -06:00
Taylor Otwell
e0a5b0efba document new options 2023-01-31 09:00:17 -06:00
Bram in 't Zandt
14b6505bba
Update mail.php (#5877)
Add `local_domain` as an option to the smtp configuration. This can be used to change the domain that is used to send the `EHLO` command during the SMTP handshake.

`null` is a sensible default since Symfony/Mailer will use it's own default (`127.0.0.1`) to send the mail.

Co-authored-by: Bram in 't Zandt <bram@bigspark.com>
2022-05-04 09:05:31 -05:00
Dries Vints
95fec9a3e8
Update mail.php (#5836) 2022-03-08 08:38:39 -06:00
Dries Vints
274d1bdd72
Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
2021-12-07 17:10:58 +01:00
Rob Lister
68a0dbed64
[8.x] Add option to set sendmail path. Fix default (#5741)
* Add option to set sendmail path. Fix default

Testing this in an application, it would seem that sendmail -bs is the wrong option for this case?

What Laravel appears to do is pipe an RFC-2822 formatted message on STDIN and requires the sendmail emulation to deal with it,
rather than -bs which initiates an SMTP session.

if Exim is the default MTA then -t would seem to be the correct option.

If you have an alternative installed instead of sendmail/exim, then there's no way to set the path, so I added MAIL_SENDMAIL_PATH
so you can do, e.g.:

MAIL_SENDMAIL_PATH="/usr/bin/msmtp -t --tls=off --from=${MAIL_FROM_ADDRESS} --auto-from=off"

msmtp doesn't support -bs at all

* Update mail.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-12-06 08:24:41 -06:00
Taylor Otwell
bdcb9681a6 fix conflicts 2021-10-02 10:47:56 -05:00
Surajit Basak
1e5b9989c3
[8.x] Add failover in supported mail configurations comment section (#5692)
Co-authored-by: Surajit Basak <surajit@adrobit.com>
2021-09-28 07:59:24 -05:00
Julius Kiekbusch
0d939c9ebf
Remove auth_mode from config/mail.php (#5688) 2021-09-20 09:03:10 -05:00
Dwight Watson
3399464a74
Add failover driver to default mail config file (#5672)
* Add failover driver to default mail config file

* Remove empty spaces
2021-08-18 08:14:34 -05:00
fragkp
0f133c1e8e
set default auth_mode for smtp mail driver (#5293)
Co-authored-by: KP <pohl@new-data-services.de>
2020-05-01 09:35:51 -05:00
Markus Podar
d82bf9768b
[7.x] Allow configuring the timeout for the smtp driver (#5262)
* Allow configuring the timeout for the smtp driver

The default is the same as in `\Swift_Transport_EsmtpTransport::$params`

* Corrected default

* Update mail.php

Co-authored-by: Graham Campbell <GrahamCampbell@users.noreply.github.com>
Co-authored-by: Taylor Otwell <taylor@laravel.com>
2020-03-15 11:25:50 -05:00
Mark van den Broek
efcf74f422
[7.x] Add Mailgun and Postmark mailer (#5243)
* Add Mailgun and Postmark mailer

* Formatting

* Update mail.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2020-03-04 08:05:25 -06:00
Maxime Willinger
672f626da1
Add array mailer (#5240) 2020-03-02 10:52:06 -06:00
Taylor Otwell
130b8c8bcb add ses 2020-01-08 17:16:33 -06:00
Taylor Otwell
e43d4546a9 fix comment 2020-01-08 17:14:01 -06:00
Taylor Otwell
61ec16fe39 work on mail configuration file 2020-01-08 17:10:37 -06:00
Taylor Otwell
76d822768d update mail configuration file 2020-01-08 17:01:42 -06:00
Dries Vints
fe9f8497d9
Remove services deleted from core
See https://github.com/laravel/framework/pull/28441 and https://github.com/laravel/framework/pull/28442
2019-05-07 17:57:29 +02:00
Taylor Otwell
02c23bdfd5 add postmark 2019-02-26 11:11:16 -06:00
Dries Vints
ed7b78de46
Typo 2018-11-16 16:20:27 +01:00
Taylor Otwell
b88d8fd18f formatting 2018-11-16 08:09:12 -06:00
Graham Campbell
7d16a052ab
Fixed comment alignment 2018-11-16 12:30:41 +00:00
Sébastien Nikolaou
546720c041
Pick log_channel from environment variable 2018-11-16 13:47:37 +02:00
Sébastien Nikolaou
822dcafe48 Add log_channel configuration option 2018-11-15 21:15:59 +02:00
Mohamed Said
be631a6693 Apply fixes from StyleCI 2017-02-03 16:06:59 +00:00
Mohamed Said
a6fdc9472f Put back configuration for sendmail 2017-02-03 18:06:39 +02:00
Graham Campbell
d7b0e32786 Remove the "mail" driver as recommended, and add "array" 2016-12-29 13:17:27 +00:00
Graham Campbell
36875bb98e Merge branch 'master' into develop 2016-12-29 13:03:32 +00:00
Taylor Otwell
c7eb99d2ad add new mail settings 2016-12-12 11:04:03 -06:00
Taylor Otwell
e72463dc6c change var name 2016-11-08 10:52:43 -06:00
Jrean
d47697e781 Env for mail sender address + name 2016-11-08 23:37:35 +08:00
Taylor Otwell
ab453a7e82 Add default address in mail config. 2016-08-03 13:16:30 -05:00
Taylor Otwell
d998b5bd03 formatting 2016-03-06 19:56:30 -06:00
Davide Bellini
da5d3d84fe Added SparkPost config 2016-03-02 01:04:24 +01:00