mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 13:54:30 -04:00
Merge pull request #6058 from turbo124/v5-develop
Fixes for postmark bindings
This commit is contained in:
commit
d088bb29b7
@ -14,12 +14,12 @@ class MailServiceProvider extends MailProvider
|
|||||||
|
|
||||||
public function register()
|
public function register()
|
||||||
{
|
{
|
||||||
|
$this->registerIlluminateMailer();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function boot()
|
public function boot()
|
||||||
{
|
{
|
||||||
$this->registerIlluminateMailer();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function registerIlluminateMailer()
|
protected function registerIlluminateMailer()
|
||||||
@ -33,7 +33,7 @@ class MailServiceProvider extends MailProvider
|
|||||||
});
|
});
|
||||||
|
|
||||||
$this->app['mail.manager']->extend('postmark', function () {
|
$this->app['mail.manager']->extend('postmark', function () {
|
||||||
|
|
||||||
return new PostmarkTransport(
|
return new PostmarkTransport(
|
||||||
$this->guzzle(config('postmark.guzzle', [])),
|
$this->guzzle(config('postmark.guzzle', [])),
|
||||||
config('postmark.secret')
|
config('postmark.secret')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user