File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 55use GuzzleHttp \Client ;
66use Illuminate \Mail \TransportManager ;
77use Illuminate \Support \ServiceProvider ;
8- use Clarification \MailDrivers \Sparkpost \Transport \SparkpostTransport ;
8+ use Clarification \MailDrivers \Sparkpost \Transport \SparkPostTransport ;
99use Illuminate \Mail \Transport \SparkPostTransport as LaravelSparkPostTransport ;
1010
1111class SparkpostServiceProvider extends ServiceProvider
@@ -39,7 +39,7 @@ public function register()
3939 $ config = $ this ->app ['config ' ]->get ('services.sparkpost ' , []);
4040 $ options = isset ($ config ['guzzle ' ]) ? $ config ['guzzle ' ] : [];
4141 $ client = new Client ($ options );
42- return new SparkpostTransport ($ client , $ config ['secret ' ]);
42+ return new SparkPostTransport ($ client , $ config ['secret ' ]);
4343 });
4444 return $ manager ;
4545 });
Original file line number Diff line number Diff line change 66use GuzzleHttp \ClientInterface ;
77use Illuminate \Mail \Transport \Transport ;
88
9- class SparkpostTransport extends Transport
9+
10+ /**
11+ * This is almost a direct copy past of the driver included in Laravel 5.2.23+
12+ * https://github.com/laravel/framework/blob/5.2/src/Illuminate/Mail/Transport/SparkPostTransport.php
13+ *
14+ * You should only need this package if you are using laravel 5.0.0 to 5.2.22
15+ */
16+ class SparkPostTransport extends Transport
1017{
1118 /**
1219 * Guzzle client instance.
You can’t perform that action at this time.
0 commit comments