Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Test smtp connection

$
0
0

I have a package that polls a datasource to identify whether the source is 1) available and 2) configured ,"ready" to provide data. If it is not, the package loops for x minutes before trying again. All works well, a script task tests the oledb connection etc and an smtp task notifies the status.

However, for whatever reason the smtp server has failed/been down on a couple of occasions. When the smtp server is down the package fails. I would like it to continue the loop and not fail the package.

Does anyone have the necessary code or pattern to achieve this behavior.

Cheers from down under.


Regards AB


Viewing all articles
Browse latest Browse all 24688

Trending Articles