issue while sending emails

Shwea
Shwea E New User

Hi all We are facing an issue while sending emails. We are using external jar to send emails and not using OT provided email sending functionality So, to send emails we will send all the parameters in a command which will execute jar and email will be sent. In the email we have 3 attachments out of which 1 is static and other 2 are generated from communication builder but sometimes the physical pdf on file system are generated late and email sending command is triggered first and email is not sent as the attachment to be sent in email are missing. Is there any way we can ensure that pdf is always present in the system before the email triggering jar is executed and email never fails.

Exstream version: 16.2.