Dart.Mail Namespace > Smtp Class : SendDirectToMx Property |
<DefaultValueAttribute()> Public Property SendDirectToMx As Boolean
Dim instance As Smtp Dim value As Boolean instance.SendDirectToMx = value value = instance.SendDirectToMx
[DefaultValue()] public bool SendDirectToMx {get; set;}
[DefaultValue()] public: __property bool get_SendDirectToMx(); public: __property void set_SendDirectToMx( bool value );
[DefaultValue()] public: property bool SendDirectToMx { bool get(); void set ( bool value); }
If Smtp.Session.RemoteEndPoint.Port is set, the MX server will be connected to on that port. If left as its default value of 0, the value returned by GetDefaultPort will be used; in most cases Smtp.Session.UseSubmissionPort should be set to false so that the well-known SMTP server port (port 25) is used.
When true, Recipients on the same domain are grouped together so that a single internal connection can be used for each group. Smtp.Session.RemoteEndPoint.HostNameOrAddress is updated as each MX server is connected to.