Skip to main content

MailboxConfig

Configures operational settings for a mailbox, including inbound/outbound processing options and notification preferences.

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

Method Signature

MailboxIDInfo MailboxConfig(string SessionID, int MailboxID, bool DeleteOnDownload, short InBoxTimeout, bool Managed, string NotifyEmail, bool NotifyOnInBox)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token from Login() with MailboxAdmin or higher authority
MailboxIDintYesNumeric identifier of the mailbox to configure
DeleteOnDownloadboolYesWhether to automatically delete parcels after they are downloaded
InBoxTimeoutshortYesHours to retain undownloaded inbound parcels (0 = network default)
ManagedboolYesWhether the mailbox operates in managed mode
NotifyEmailstringNoEmail address for inbound parcel notifications; empty string to disable
NotifyOnInBoxboolYesWhether to send notification emails when parcels arrive

Response Object — MailboxIDInfo

Returns the updated MailboxIDInfo record reflecting all configuration changes.

FieldTypeDescription
MailboxIDintNumeric identifier of the configured mailbox
NetworkIDintNumeric identifier of the parent network
UniqueIDstringUnique string identifier of the mailbox
CompanyNamestringDisplay name of the mailbox
StatusStatusCurrent status of the mailbox
CreateddateTimeOriginal creation timestamp
ModifieddateTimeUTC timestamp of the configuration update
<!-- Example response XML -->
<MailboxIDInfo>
<MailboxID>100</MailboxID>
<NetworkID>1</NetworkID>
<UniqueID>MYMAILBOX</UniqueID>
<CompanyName>My Mailbox Company</CompanyName>
<Status>Active</Status>
<Created>2021-03-20T00:00:00</Created>
<Modified>2026-05-07T14:00:00</Modified>
</MailboxIDInfo>

Code Examples

// .NET 10 — dotnet-svcutil generated proxy
// Configure mailbox: retain parcels 48 hours, notify on receipt, do not auto-delete
var updated = await client.MailboxConfigAsync(
sessionID,
mailboxId: 100,
deleteOnDownload: false,
inBoxTimeout: 48,
managed: false,
notifyEmail: "ops@mycompany.com",
notifyOnInBox: true);

Console.WriteLine($"Config applied to: {updated.CompanyName} (Modified: {updated.Modified:yyyy-MM-dd HH:mm})");

See Also

REST Equivalent

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