How do I configure HA for outbound IMAP messages?

I’ve got a thread open about it, Triggering a custom SMTP notification - Falling at the first hurdle - #12 by pedolsky

I can’t even get SMTP set upon HA, it just says that it cannot find the service. I’m not sure that I have SMTP set up correctly on HA. The server details are correct but I can’t even call the norification.