Copied!
  • property int $format_type The email format you are using to create the email campaign activity. The V3 API supports creating emails using format_type 5 (custom code emails).
  • property string $from_name The email sender's name to display for the email campaign activity.
  • property string $from_email The sender's email address to use for the email campaign activity. You must use a confirmed Constant Contact account email address. Make a GET call to /account/emails to return a collection of account emails and their confirmation status.
  • property string $reply_to_email The sender's email address to use if the contact replies to the email campaign activity. You must use a confirmed Constant Contact account email address. Make a GET call to /account/emails to return a collection of account emails and their confirmation status.
  • property string $subject The text to display in the subject line that describes the email campaign activity.
  • property string $preheader The email preheader for the email campaign activity. Contacts will view your preheader as a short summary that follows the subject line in their email client. Only format_type 3, 4, and 5 email campaign activities use the preheader property.
  • property string $html_content The HTML content for the email campaign activity. Only format_type 5 (custom code emails) can contain html_content. When creating a format_type 5 custom code email, make sure that you include [[trackingImage]] in the <body> element of your HTML.
  • property \PHPFUI\ConstantContact\Definition\EmailPhysicalAddress $physical_address_in_footer The physical address for the organization that is sending the email campaign. Constant Contact displays this information to contacts in the email message footer. If you do not include a physical address in the email campaign activity, Constant Contact will use the physical address information saved for the Constant Contact user account.
CloneableInstantiable
Methods
public PHPFUI\ConstantContact\Definition\Base::__construct(array $initialValues = [])
public PHPFUI\ConstantContact\Definition\Base::__get(string $field) : ?mixed
 

Unset fields will return null

public PHPFUI\ConstantContact\Definition\Base::__set(string $field, ?mixed $value)
 
  • return mixed value being set to allow for assignment chaining
public PHPFUI\ConstantContact\Definition\Base::getData() : array
 
  • return array representation of data
public PHPFUI\ConstantContact\Definition\Base::getfields() : array
 
  • return array all the valid fields for the object. Index is field name and value is the type.
public PHPFUI\ConstantContact\Definition\Base::getJSON() : string
 
  • return string pretty print JSON
Properties
protected static array $fields = ['format_type' => 'int', 'from_name' => 'string', 'from_email' => 'string', 'reply_to_email' => 'string', 'subject' => 'string', 'preheader' => 'string', 'html_content' => 'string', 'physical_address_in_footer' => '\PHPFUI\ConstantContact\Definition\EmailPhysicalAddress']
protected static array $maxLength = ['from_name' => 100, 'from_email' => 80, 'reply_to_email' => 80, 'html_content' => 150000]
protected static array PHPFUI\ConstantContact\Definition\Base::$minLength = []
 
  • var array<string,int> minimum allowed values. Arrays are size, int and float are values, strings are length.
protected static array PHPFUI\ConstantContact\Definition\Base::$requiredFields = []
 
  • var string[] required fields.
Properties
protected static array $fields = ['format_type' => 'int', 'from_name' => 'string', 'from_email' => 'string', 'reply_to_email' => 'string', 'subject' => 'string', 'preheader' => 'string', 'html_content' => 'string', 'physical_address_in_footer' => '\PHPFUI\ConstantContact\Definition\EmailPhysicalAddress']
protected static array $maxLength = ['from_name' => 100, 'from_email' => 80, 'reply_to_email' => 80, 'html_content' => 150000]
protected static array PHPFUI\ConstantContact\Definition\Base::$minLength = []
 
  • var array<string,int> minimum allowed values. Arrays are size, int and float are values, strings are length.
protected static array PHPFUI\ConstantContact\Definition\Base::$requiredFields = []
 
  • var string[] required fields.
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration