DirectSendServerConfigLocalEndPoint Property |
Namespace: MailBee.SmtpMail
If the computer running MailBee has multiple IP addresses assigned (for instance, it has several network adapters installed), you can set this property to the IP address and port which should be used for outbound connections. See Bind(EndPoint) and LocalEndPoint topics for more information.
If you're sending to an SMTP relay server rather than using "direct send" mode, the property to be set in this case is SmtpServer.LocalEndPoint.
To access DirectSendServerConfig object, use Smtp.DirectSendDefaults property.