Description
-
Starts Imap server.
Return Type
-
None
Syntax
-
object.Start
The Start Method syntax has these parts:
object |
An expression evaluating to an object
of type wodImapServer. |
Remarks
- Method Start will make your IMAP server 'alive'
and force it to
-
-
- bind to your local port (default 143) on selected
interface
- listen for incoming connections
- set Activated property to True
- accept incoming connections
- create IIMapUser object for each new connection, and
fill in respective Hostname and TimeConnected
properties
If you get an error when you call this method, usually
it will be related to inability of IMAP server to bind and
listen on selected port. In such cases, check your running
applications and server if there is already some other
server running on same port.
Before starting server, you should setup several properties
that will determine behavior of your server, such as
Timeout,
GreetingMessage,
GoodbyeMessage,
Port....
Just by leaving default values will make your server work
as expected, but in 'real life' you should choose
your own values for these properties.
To shutdown server, call Stop
method.
|