vemcogroup / laravel-sparkpost-driver

SparkPost driver to use with Laravel
MIT License
40 stars 16 forks source link

Ask for documentation #1

Closed realtebo closed 4 years ago

realtebo commented 4 years ago

Hi ! Please, could you document the meaning and allowed values of the various options for sparkpost?

'sparkpost' => [
    'secret' => env('SPARKPOST_SECRET'),
    'guzzle' => [
        'verify' => true,
        'decode_content' => true,
    ],
    'options' => [
        'open_tracking' => false,
        'click_tracking' => false,
        'transactional' => true,
    ],
],

Also: is the 5.8 'endpoint' option supported?

'options' =>  [
            'endpoint' => env('SPARKPOST_ENDPOINT'),
        ]

this is a MUST because sparkpost uses now app.eu.sparkpost.com domain instead of app.sparkpost.com for Europe GDR-compliance.

eldor commented 4 years ago

Thank you for the comments. I have updated the README with documentation for options and the endpoint. Its release as 1.1.1

eldor commented 4 years ago

Changed it to version 2.0.0 as the endpoint option could be breaking changes

realtebo commented 4 years ago

Thank yout a lot