IIsSmtpDomain

You can use the IIsSmtpDomain object to set metabase properties that apply to individual SMTP domains for a SMTP site. You can set properties for a specific domain by using the IIsSmtpDomain object for a specific domain (for example, à/SMTPSVC/1/Domain/Rohan.com).

The IIsSmtpDomain object is an ADSI container object and might contain IIsSmtpDomain objects. (For more information, see ADSI Features in the Programmer's Reference in the IIS documentation.)

ADsPath

IIS://MachineName/SMTPSVC/n/Domain/DomainName

where MachineName can be any computer name or LocalHost, n is equal to 1, and DomainName is a domain.

Syntax

varReturn = object.{Method}

Parameters
varReturn   A variable that receives the return value from the method
Object A variable that contains the IIsSmtpDomain object as a result of a previous GetObject operation
Method The object method chosen (For information about the methods used with Admin Objects, see IIS Admin Objects in IIS documentation.)

Metabase Properties

The following table is a list of the properties for the metabase values that can be configured at the IIsSmtpDomain object. You have access to properties specific to Microsoft SMTP Service from here; all other properties are used by other IIS Admin Objects and are documented in the Administration Property Reference in the IIS documentation.

AuthTurnList
KeyType
RelayForAuth
RouteAction
RouteActionString
RouteUserName
RoutePassword


© 1997 Microsoft Corporation. All rights reserved.