Επεξεργασία

Κοινή χρήση μέσω


IComSoapPublisher.CreateMailBox Method

Definition

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

public:
 void CreateMailBox(System::String ^ RootMailServer, System::String ^ MailBox, [Runtime::InteropServices::Out] System::String ^ % SmtpName, [Runtime::InteropServices::Out] System::String ^ % Domain, [Runtime::InteropServices::Out] System::String ^ % PhysicalPath, [Runtime::InteropServices::Out] System::String ^ % Error);
public void CreateMailBox (string RootMailServer, string MailBox, out string SmtpName, out string Domain, out string PhysicalPath, out string Error);
abstract member CreateMailBox : string * string * string * string * string * string -> unit
Public Sub CreateMailBox (RootMailServer As String, MailBox As String, ByRef SmtpName As String, ByRef Domain As String, ByRef PhysicalPath As String, ByRef Error As String)

Parameters

RootMailServer
String

The URL for the root mail server.

MailBox
String

The mailbox to create.

SmtpName
String

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

Domain
String

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

PhysicalPath
String

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

Error
String

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

Exceptions

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

Remarks

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

Applies to