Error Trying to Create CDONTS Object in e-Work

The information in this article applies to product: e-Work all versions using SMTP

Issue

  • Using the %Email function within e-Work fails and generates the following error: 'Unexpected exception occurred while trying to send SMTP message. Reason: Object already exists.'

    Using a script to send mail with CDONTS within e-Work also fails, and the following error is logged in the Designer log: 'Unable to execute specified script. Reason 'Error(-2146893809) : Object already exists., at line 16, character 4. Source: Unavailable.'

    Using the same script outside of e-Work is successful.

Resolution

Tagged: