mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 01:47:32 -05:00 
			
		
		
		
	Fixes for postmark bindings
This commit is contained in:
		
							parent
							
								
									969a2946e5
								
							
						
					
					
						commit
						4be5d8783e
					
				@ -32,11 +32,13 @@ class MailServiceProvider extends MailProvider
 | 
			
		||||
            return $app->make('mail.manager')->mailer();
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
        $this->app['mail.manager']->extend('postmark', function () {
 | 
			
		||||
            return new PostmarkTransport(
 | 
			
		||||
        $this->app['mail.manager']->extend('postmark', function ($app, $postmark) {
 | 
			
		||||
            $postmark = new PostmarkTransport(
 | 
			
		||||
                $this->guzzle(config('postmark.guzzle', [])),
 | 
			
		||||
                config('postmark.secret')
 | 
			
		||||
            );
 | 
			
		||||
 | 
			
		||||
            return $postmark;
 | 
			
		||||
        });
 | 
			
		||||
        
 | 
			
		||||
        $this->app->afterResolving('mail.manager', function (GmailTransportManager $mailManager) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user