Skip to main content


 

Symptoms


Format of the initialization string does not conform to specification starting at index 0. when sending email
 

Diagnoses


When sending email through an email server event, the workflow stops with the error:
Format of the initialization string does not conform to specification starting at index 0.
There was no change to the configuration, but it started when copying a workflow from the production environment and build and deployed it onto acceptance.

The reason why old processes do not work is that when you deploy a process Event Listeners get created with certain values, so if they are not correct or don't work updating the environment fields won't fix the problem. The only way would be to upgrade the existing process to the new definition, which will then use the new configuration.
 

Resolution

• Mail Events and Client events will use EWS or SMTP as setup in the connection strings, which may include the use of Messagebus/EventBus.
• Smart Form send mails by using the “System.NET.Mail” and use the SMTP server specified in the “Mail Server” Environment filed.

• Modify using the Connection string editor for both SMTP settings already configured:
- 'TLS' change from 'Boot TLS' to 'None'
- 'HostName' change to 'mail.xxxx.com' (your mail host name)

• Restart the Machine

• Create a Test Process with an email event and client event that emails notificaitons

• Test Process




 
Be the first to reply!

Reply