Skip to main content

MailboxManaged

Sets a mailbox to managed or unmanaged mode, which controls whether ECGrid handles certain processing operations on behalf of the mailbox owner.

:::caution Established API The SOAP API is in maintenance mode. For new integrations use the REST equivalent. :::

Method Signature

bool MailboxManaged(string SessionID, int MailboxID, bool Managed)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token from Login() with NetworkAdmin or higher authority
MailboxIDintYesNumeric identifier of the mailbox to configure
ManagedboolYestrue to enable managed mode; false to set unmanaged (self-service) mode

Response

Returns true if the managed mode was successfully updated, or false if the operation failed.

<!-- Example response XML -->
<MailboxManagedResult>true</MailboxManagedResult>

:::note Managed Mode In managed mode, the network operator takes responsibility for certain EDI processing tasks on behalf of the mailbox. This is typically used for customers who outsource EDI operations to their VAN or network provider. Changing this setting requires NetworkAdmin authority. :::

Code Examples

// .NET 10 — dotnet-svcutil generated proxy
// Enable managed mode for a mailbox — requires NetworkAdmin authority
bool success = await client.MailboxManagedAsync(
sessionID,
mailboxId: 100,
managed: true);

if (success)
Console.WriteLine("Mailbox 100 is now in managed mode.");
else
Console.WriteLine("Failed to update managed mode — check authority level.");

// Disable managed mode
// bool reset = await client.MailboxManagedAsync(sessionID, 100, false);

See Also

  • MailboxConfig — configure managed mode alongside other settings in a single call

REST Equivalent

See Update Mailbox ConfigPOST /v2/mailboxes/update-config.