Resource Description for EmailPart

Properties for EmailPart

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
description string
disposition string
email Email
filename string
mimeContentId string
parentEmailPart EmailPart
subject string
typeMajor string
typeMinor string

SDK Example for PHP

<?PHP

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

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

$emailPart = EmailPart::retrieve(5433);

$email = $emailPart->getEmail();
$mimeContentId = $emailPart->getMimeContentId();
$disposition = $emailPart->getDisposition();
$filename = $emailPart->getFilename();
$typeMajor = $emailPart->getTypeMajor();
$typeMinor = $emailPart->getTypeMinor();
$description = $emailPart->getDescription();
$subject = $emailPart->getSubject();
$parentEmailPart = $emailPart->getParentEmailPart();

 

Related Resources

See also: Email, EmailPart