Skip to content

Commit

Permalink
Document SparkPost API endpoint support
Browse files Browse the repository at this point in the history
Documents laravel/framework#23910 (Allow user-defined SparkPost endpoint)
  • Loading branch information
36864 authored Jul 9, 2018
1 parent 6a14868 commit f816830
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions mail.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ To use the SparkPost driver, first install Guzzle, then set the `driver` option
'secret' => 'your-sparkpost-key',
],

Optionally, you may also define which [API endpoint](https://developers.sparkpost.com/api/#header-endpoints) to use:

'sparkpost' => [
'secret' => 'your-sparkpost-key',
'options' => [
'endpoint' => 'sparkpost-api', //The default is https://api.sparkpost.com/api/v1
]
],

#### SES Driver

To use the Amazon SES driver you must first install the Amazon AWS SDK for PHP. You may install this library by adding the following line to your `composer.json` file's `require` section and running the `composer update` command:
Expand Down

0 comments on commit f816830

Please sign in to comment.