wodImapServer ActiveX Component - BindIP Property
      
 

Description

Determines local interface address that is listening.


Property type

A String value.  


Syntax

object.BindIP [= value]



The BindIP Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodImapServer.
value A String value. Holds IP address of local interface.

Remarks
If you don't want your Imap server to be publicly accessible (during testing or implementation, for instance) you can make it use only one of your networks interfaces. For instance, if you have local network on IP address 192.168.1.1, and one interface is connected to internet with IP 100.101.102.103, you can make only user's from your local network access Imap server by setting
 
wodImapServer1.BindIP = "192.168.1.1"
 
As a result, connections from Internet will be denied (by your OS, not application) and furthermore you will be allowed to run some other Imap server on same port - on different interface.


If you want your server to be accessible only from your computer, set it up like this:
 
wodImapServer1.BindIP = "127.0.0.1"
 
To make Imap server bind to all interfaces, just leave this property empty. You can also specify IPv6 addresses when UseIPv6 is set to True.
.