Triggering a custom SMTP notification - Falling at the first hurdle

We are running in circles. If the service is unknown, there’s a chance that it’s not set up properly. Anything in the HA logs that would be helpful?