Resource Description for EmailMailbox

Properties for EmailMailbox

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
defaultActionRequiredByTime DateTime
disabled bool
emailAccount EmailAccount
firstErrorDatetime DateTime
lastErrorDatetime DateTime
lastRetrievedDatetime DateTime
lastSeenUid int
mailboxFolder string
mailboxType string
sharedByDefault bool
uidValidity int

SDK Example for PHP

<?PHP

use Arbor\Api\Gateway\RestGateway;
use Arbor\Model\ModelBase;
use Arbor\Model\EmailMailbox;

ModelBase::setDefaultGateway(
    new RestGateway(
        "https://my-school.arbor.sc/rest-v2",
        "my.username@my-school.arbor.sc",
        "3bh54435v3gh45"
    )
);

$emailMailbox = EmailMailbox::retrieve(5433);

$emailAccount = $emailMailbox->getEmailAccount();
$mailboxType = $emailMailbox->getMailboxType();
$mailboxFolder = $emailMailbox->getMailboxFolder();
$lastRetrievedDatetime = $emailMailbox->getLastRetrievedDatetime();
$lastSeenUid = $emailMailbox->getLastSeenUid();
$uidValidity = $emailMailbox->getUidValidity();
$defaultActionRequiredByTime = $emailMailbox->getDefaultActionRequiredByTime();
$sharedByDefault = $emailMailbox->getSharedByDefault();

 

Related Resources

See also: EmailAccount