Resource Description for EmailSender

Properties for EmailSender

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
email Email
emailAddress EmailAddress
sender mixed
senderIndex int
senderName string
senderRawEmail string
senderType string

SDK Example for PHP

<?PHP

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

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

$emailSender = EmailSender::retrieve(5433);

$email = $emailSender->getEmail();
$senderType = $emailSender->getSenderType();
$senderName = $emailSender->getSenderName();
$senderRawEmail = $emailSender->getSenderRawEmail();
$emailAddress = $emailSender->getEmailAddress();
$sender = $emailSender->getSender();
$senderIndex = $emailSender->getSenderIndex();

 

Related Resources

See also: Email, EmailAddress