Resource Description for EmailStatus

Properties for EmailStatus

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
deliveryAttemptNumber int
email Email
emailAddress string
emailRecipient EmailRecipient
statusCode int
statusDatetime DateTime
statusDetail string
statusType string

SDK Example for PHP

<?PHP

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

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

$emailStatus = EmailStatus::retrieve(5433);

$email = $emailStatus->getEmail();
$emailAddress = $emailStatus->getEmailAddress();
$emailRecipient = $emailStatus->getEmailRecipient();
$statusType = $emailStatus->getStatusType();
$statusDatetime = $emailStatus->getStatusDatetime();
$statusCode = $emailStatus->getStatusCode();
$statusDetail = $emailStatus->getStatusDetail();
$deliveryAttemptNumber = $emailStatus->getDeliveryAttemptNumber();

 

Related Resources

See also: Email, EmailRecipient