Managed Email 2007::DeleteSMTPDomain
This procedure removes an accepted SMTP domain.
Arguments
Input Arguments | Required | Description |
---|---|---|
<organization> |
Yes |
A valid LDAP (Lightweight Directory Access Protocol) path of the organization. |
<domainName> |
Yes |
The domain controller to use for Active Directory actions. |
<preferredDomainController> |
Yes |
This parameter specifies a unique name for the accepted domain object. |
Remarks
Security
The caller must be at least a member of role: UserCreators.
Sample Code
Example XML Request
<request>
<data>
<!--The LDAP Path of the organization-->
<organization>LDAP://OU=AlpineSkiHouse,OU=ConsolidatedMessenger,OU=Hosting,DC=Fabrikam,DC=Com</organization>
<!--The domain controller to use for Active Directory actions.-->
<preferredDomainController>AD01.Fabrikam.Com</preferredDomainController>
<!--This parameter specifies a unique name for the accepted domain object.-->
<domainName>AlpineSkiHouse.com</domainName>
</data>
<procedure>
<execute namespace="Managed Email 2007" procedure="DeleteSMTPDomain" impersonate="1">
<before source="data" sourcePath="organization" destination="executeData" mode="move" />
<before source="data" sourcePath="preferredDomainController" destination="executeData" mode="move" />
<before source="data" sourcePath="domainName" destination="executeData" mode="move" />
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
Applies To
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0
See also
Tasks
Hosted Email 2007::CreateSMTPDomain
Hosted Email 2007::CreateConsumerVanityDomain
Hosted Email 2007::GetOrganizationDomains