Ctct\Components\EmailMarketing\TestSend
Represents a campaign Test Send in Constant Contact
- Author: Constant Contact
Synopsis
class TestSend
extends Component
{
- // members
- public $format;
- public $personal_message;
- public array $email_addresses = ;
- // Inherited methods from Component
- protected static mixed getValue()
Hierarchy
Extends
Members
public
- $email_addresses
—
array
Array of email addresses to send the test send to - $format
—
string
Format of the email to send (HTML, TEXT, HTML_AND_TEXT) - $personal_message
—
Personal message to send along with the test send
Methods
public
- addEmail() — Add an email address to the set of addresses to send the test send too
- create() — Factory method to create a TestSend object from an array
- toJson() — Create json used for a POST/PUT request, also handles removing attributes that will cause errors if sent
Inherited from Ctct\Components\Component
protected
- getValue() — Get the requested value from an array, or return the default