Thanks, Vasu but non of this helps.
https://www.sparkpost.com/docs/user-guide/unconfigured-sending-domain/
As mentioned the same details work on other software applications. It is only on Kentico I have an issue sending mail with this error.
https://www.sparkpost.com/docs/faq/relaying-denied-error/
Kentico only allows you to specify server, user, password and a check box for SSL. There is no separate field for port number, but I have tried appending both 587 and 2525 to the server name with no success.
https://www.sparkpost.com/docs/integrations/postfix/
This is not relevant