API docs     >     Mailings     >     MailingMgr

MailingMgr->add

Description

add ( $parentMailingId, $templateId = 0, $name = "New " )
Adds a new Mailing to the specified parent Mailing

Parameters

$parentMailingId
int
Parent Mailing Id
$templateId
int
Template Id
$name
string
(optional) Mailing name

Returns

int|false
New Mailing Id or FALSE in case of an error