Show / Hide Table of Contents

Class MailboxEntity

This entity represent a mailbox used for importing emails in Service

Carrier object for MailboxEntity. Services for the MailboxEntity Carrier is available from the CustomerService Agent.
Inheritance
object
MailboxEntity
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class MailboxEntity : Carrier
Examples

Get MailboxEntity 123 using the agent:

using SuperOffice;
using SuperOffice.CRM.Services;

using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
   var agent = new CustomerServiceAgent();
   var mailboxEntity = agent.GetMailboxEntity( 123 );
}

Constructors

MailboxEntity()

Default constructor

Declaration
public MailboxEntity()
See Also
ICustomerServiceAgent

Properties

Address

The address associated with this mailbox (used as FROM: address when sending emails).

Declaration
[DataMember]
public virtual string Address { get; set; }
Property Value
Type Description
string
See Also
ICustomerServiceAgent

MailInFilterId

The primary key (auto-incremented)

Declaration
[DataMember]
public virtual int MailInFilterId { get; set; }
Property Value
Type Description
int
See Also
ICustomerServiceAgent

Password

The password used to log into the mail account. This is hidden when reading

Declaration
[DataMember]
public virtual string Password { get; set; }
Property Value
Type Description
string
See Also
ICustomerServiceAgent

Port

The port used to connect to the server

Declaration
[DataMember]
public virtual int Port { get; set; }
Property Value
Type Description
int
See Also
ICustomerServiceAgent

Server

The email server to connect to

Declaration
[DataMember]
public virtual string Server { get; set; }
Property Value
Type Description
string
See Also
ICustomerServiceAgent

ServerType

Enum indicating the protocol to use (POP/IMAP).

Declaration
[DataMember]
public virtual MailboxType ServerType { get; set; }
Property Value
Type Description
MailboxType
See Also
ICustomerServiceAgent

Username

The username used to log onto the mail account

Declaration
[DataMember]
public virtual string Username { get; set; }
Property Value
Type Description
string
See Also
ICustomerServiceAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
ICustomerServiceAgent

ToString(string)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public string ToString(string prefix)
Parameters
Type Name Description
string prefix

The line prefix (typically used for indenting)

Returns
Type Description
string

The carrier contents.

See Also
ICustomerServiceAgent

See Also

ICustomerServiceAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top