I hope you are using BAW v20.x and the
Target Environment is set to
'Traditional or Container'.
There are two versions of System Data toolkit from this version,
8.6.0.0_TC for 'Traditional or Container' which does not have the integration components and
8.6.0.0 for 'Traditional' which is the earlier version of System Data toolkit.
To solve this, probably you can first set the
Target Environment as
'Traditional', change the dependency to
8.6.0.0, copy the
Send email via SMTP service and
integration.jar to your application, then again change the
Target Environment as
'Traditional or Container', then change the dependency back to
8.6.0.0_TC.
Hope this helps.
------------------------------
Atanu Roy
------------------------------
Original Message:
Sent: Sat May 29, 2021 02:19 PM
From: Ailin Cao
Subject: Send Email SMTP for BAW 20 STARTTTLS error
Because the Send Email with SMTP service was deprecated and removed from the System toolkit, and the client does not have Content Integration Designer, I found another toolkit with the functionality: ibmbpm/Integration-Samples
However, when I use the sendMessage service, it generates the following error:
CWTBG0019E: Unexpected exception during execution. Exception information: 'com.lombardisoftware.component.common.workflow.WorkflowProcessItemException: An exception occurred in activity "Script Task" of "Service Flow" with name "AC Test Email Service". Task instance id "Task.627". Details: "451 5.7.3 STARTTLS is required to send mail [SA0PR11CA0040.namprd11.prod.outlook.com] ".'.
Any idea how to resolve it?
------------------------------
Ailin Cao
Associate Application Developer
IBM
------------------------------