Exchange Provider::DeleteSMTPDomain

The DeleteSMTPDomain method deletes the SMTP domain(s) for an organization. The Exchange provider only removes the SMTP domain; it does not delete the recipient policy.

Arguments

Input argument Required Description

SMTPDomains/SMTPDomain

Yes

The SMTP domains to be deleted from recipient policies.

Remarks

Rollback Calls

The DeleteSMTPDomain method provides no transaction rollback calls.

Comments

If the domain does not exist, an error is not returned.

Sample Code

Example XML Request

The following is an example of an XML request for the DeleteSMTPDomain method of the Exchange Provider:

<request> 
    <data/> 
        <procedure> 
            <execute namespace='Exchange Provider' 
             procedure='DeleteSMTPDomain'> 
                <executeData> 
                    <SMTPDomains> 
                       <SMTPDomain>litware.com</SMTPDomain> 
                    </SMTPDomains> 
                       </executeData> 
            </execute> 
        </procedure>  
</request> 

Example XML Response

No example XML response.

Applies To

Exchange Provider API for:

  • Hosted Messaging and Collaboration version 3.5

  • Hosted Messaging and Collaboration version 3.0

See also

Tasks

Exchange Provider::CreateSMTPDomain