To successfully create a sparkpost email api setup, add the below details to env file and your application will be good to start sending emails.
MAIL_DRIVER=sparkpost
SPARKPOST_SECRET=
NOTE: The above details does not give you the code written in controller which has the business logic to send em...