SmtpDomainWithSubdomains class

Specifies the SMTP domain that you want to establish as an accepted domain.


Namespace:  Microsoft.Exchange.Data
Assembly:  Microsoft.Exchange.Data (in Microsoft.Exchange.Data.dll)

public class SmtpDomainWithSubdomains

Valid input for the DomainName parameter is an SMTP domain. You can use a wildcard character to specify all subdomains of a specified domain, as shown in the following example: *, you can't embed a wildcard character, as shown in the following example: domain.* The domain name string may not contain more than 256 characters.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.