CDO Message Failing

Good Day All,

We have implemented a process that sends out emails using CDO in a workflow state. The setup has been working okay until recently.

We have tried ports 587 and 465 with no success. The port 587 returns a different error message 'The transport failed to connect to the server'

Below are the SMTP settings we are using in the workflow state script. The 'FromEmail' and 'Password' are variables.

Is there another workaround for sending emails with attachments via M-Files workflow transition?