You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In /src/Illuminate/Mail/Transport/SparkPostTransport.php under the method send, the endpoint is hardcoded to https://api.sparkpost.com/api/v1/transmissions.
This should be configurable when setting up SparkPost as the app's mail driver because SparkPost has 4 different endpoints, according to https://developers.sparkpost.com/api/
In my case, it was not about alternative endpoints, but very strict endpoints. SparkPost and SparkPost EU operate independently, that means if I create an API key for SparkPost EU and try to use it in Laravel, it won't work cause the generic endpoint is called instead of https://api.eu.sparkpost.com/api/v1 (where my API key actually exists).
I solved this by extending MailServiceProvider, TransportManager and SparkPostTransport, but that's not a solution.
The text was updated successfully, but these errors were encountered:
In
/src/Illuminate/Mail/Transport/SparkPostTransport.php
under the methodsend
, the endpoint is hardcoded tohttps://api.sparkpost.com/api/v1/transmissions
.This should be configurable when setting up SparkPost as the app's mail driver because SparkPost has 4 different endpoints, according to https://developers.sparkpost.com/api/
In my case, it was not about alternative endpoints, but very strict endpoints. SparkPost and SparkPost EU operate independently, that means if I create an API key for SparkPost EU and try to use it in Laravel, it won't work cause the generic endpoint is called instead of
https://api.eu.sparkpost.com/api/v1
(where my API key actually exists).I solved this by extending
MailServiceProvider
,TransportManager
andSparkPostTransport
, but that's not a solution.The text was updated successfully, but these errors were encountered: