IComSoapPublisher.CreateMailBox Method (String, String, String, String, String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a SOAP-enabled COM+ application mailbox at a specified URL. Not fully implemented.

Namespace:   System.EnterpriseServices.Internal
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

void CreateMailBox(
	string RootMailServer,
	string MailBox,
	out string SmtpName,
	out string Domain,
	out string PhysicalPath,
	out string Error
)

Parameters

RootMailServer
Type: System.String

The URL for the root mail server.

MailBox
Type: System.String

The mailbox to create.

SmtpName
Type: System.String

When this method returns, this parameter contains the name of the Simple Mail Transfer Protocol (SMTP) server containing the mailbox.

Domain
Type: System.String

When this method returns, this parameter contains the domain of the SMTP server.

PhysicalPath
Type: System.String

When this method returns, this parameter contains the file system path for the mailbox.

Error
Type: System.String

When this method returns, this parameter contains an error message if a problem was encountered.

Exception Condition
SecurityException

A caller in the call chain does not have permission to access unmanaged code.

Not fully implemented; does not currently create a mailbox. Returns the error message "COM+ SOAP services SMTP publication is not supported."

.NET Framework
Available since 1.1
Return to top
Show: