Commit Graph

43 Commits

Author SHA1 Message Date
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
Graham Campbell ed18fd99fd Removed config option for deleted feature 2015-10-30 18:15:40 +00:00
Chris Fidao ae78cd9457 Documented availability of SES mail driver in mail config 2015-04-27 08:33:30 -05:00
Sinan Eldem fad5c6ee9b support for unencrypted mail server usage like mailcatcher.me 2015-03-04 11:26:14 +02:00
Taylor Otwell f424b87a63 PSR-2 for app. 2015-02-22 20:47:03 -06:00
Taylor Otwell 8e15c7f73e A few tweaks to mail config. 2015-02-22 19:48:52 -06:00
Martin Bean 4310e0b3ea Made mail config values configurable by .env file. 2015-02-17 22:59:32 +00:00
Taylor Otwell ce48990bf2 Tweak some paths again. 2014-12-15 08:42:13 -06:00
Taylor Otwell 532297c109 Work on default project structure. 2014-12-08 09:31:31 -06:00
Taylor Otwell 76c84d8652 Convert configuration PHP 5.4 arrays. 2014-08-24 14:03:58 -05:00
Taylor Otwell 9aae50e501 Working on the default app structure. 2014-08-18 22:46:16 -05:00