Returns SmtpServers collection's index of the server to which the component is connected or will connect on the next connection attempt.
If already connected to the SMTP relay server, the return value is the index of this server in SmtpServers collection; if not currently connected to the server, the return value is the index of the server to which the component will connect on the next connection attempt. The default value is 0.
This property is useful when SmtpServers collection contains more than one SMTP relay server, and the application needs to know which one is used now or will be used when the time to connect to an SMTP server comes. If SmtpServers collection contains one or zero elements, this method will return 0.
Smtp Class | MailBee.SmtpMail Namespace