DirectSendServerConfigLocalEndPoint Property
Gets or sets the local end point which will be used when connecting to SMTP MX servers.

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public EndPoint LocalEndPoint { get; set; }

Property Value

Type: EndPoint
A reference to the local end point to be used when connecting to SMTP MX servers, or a null reference (Nothing in Visual Basic) if the local end point should be assigned automatically. The default value is a null reference.
Remarks

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.

See Also