On Thu, 2009-11-12 09:52:16 -0500, Michael Wilson wrote:
Thanks Ludholf,
Re Q2 - Solved.
Re Q1 - Thanks, but I should have been clearer, I wanted an automated solution. My nightly Blat e-mails come from a command line .cmd file. I have recently added a javascript to check if stunnel is active and, if not, start it before my e-mails. Now I would like to create a similar script that, if stunnel is running, stops it after my e-mail. I may just have to use Windows Script Host's Terminate.
Mike,
I didn't try, but if you run stunnel as a service, you could start and stop it from the command line ("stunnel -start" / "stunnel -stop"). See the man page for details.
HTH,
Ludolf