Resource Description for Email

Properties for Email

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
actionRequiredByDatetime DateTime
emailDraft EmailDraft
emailMailbox EmailMailbox
failedDatetime DateTime
htmlPart EmailPart
messageId string
originationDatetime DateTime
readDatetime DateTime
receivedDatetime DateTime
sendingStartedDatetime DateTime
sentDatetime DateTime
subject string
textPart EmailPart
uid int
uidValidity int

SDK Example for PHP

<?PHP

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

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

$email = Email::retrieve(5433);

$emailMailbox = $email->getEmailMailbox();
$emailDraft = $email->getEmailDraft();
$uid = $email->getUid();
$uidValidity = $email->getUidValidity();
$messageId = $email->getMessageId();
$subject = $email->getSubject();
$originationDatetime = $email->getOriginationDatetime();
$sendingStartedDatetime = $email->getSendingStartedDatetime();
$sentDatetime = $email->getSentDatetime();
$receivedDatetime = $email->getReceivedDatetime();
$failedDatetime = $email->getFailedDatetime();
$textPart = $email->getTextPart();
$htmlPart = $email->getHtmlPart();
$readDatetime = $email->getReadDatetime();
$actionRequiredByDatetime = $email->getActionRequiredByDatetime();

 

Related Resources