- 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 |
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] |
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] |