SmartHostType Metabase Property (IIS 6.0)
The SmartHostType property corresponds to the "Attempt direct delivery before sending to smart host" check box in the Advanced Delivery dialog box. If no smart host is specified in the smart host text box, SmartHostType will be set to 0. When the smart host is specified and the check box is not selected, SmartHostType will be set to 2 (always) and the smart host will be used to send mail without consulting the DNS server. When the smart host is specified and the check box is selected, SmartHostType will be set to 1 (that is, direct delivery through DNS lookup first; if DNS fails to look up the domains of the recipients, the smart host entry of the SMTP virtual server is used).
You can configure this property at the following locations in the IIS metabase.
For general code examples, see Code Examples to Configure Metabase Properties.