TIdSMTP - reinitialize ?

Giganews Newsgroups
Subject: TIdSMTP - reinitialize ?
Posted by:  Andrew Jameson (conta…@softspotsoftware.com)
Date: Sun, 6 Jul 2003

Aren't these components brilliant !!? ... I needed to construct an automated
mail sender to be used for software registration key distribution and after
messing around for a week with the MAPI, I still hadn't succeeded in getting
it to do exactly what I required ... but a couple of hours work last night
with Indy and it's all done apart from a minor niggle ...

If I post mail when not connected, I get the dial-up dialog ... just what I
want ... but if I cancel, I then get a socket error 11001 ... that makes
perfect sense too ... but if I try to post again, I no longer get the
dial-up dialog and immediately get the 11001 error.  Is there way to
reinitialize so that it'll always bring up the dial-up dialog if not
connected ?