return civicrm_api3_create_success([
'id' => $mailingID,
'contact_id' => $contactID,
return civicrm_api3_create_success([
'id' => $mailingID,
'contact_id' => $contactID,
'body_html' => $mime->getHTMLBody(),
'body_text' => $mime->getTXTBody(),
]);
'body_html' => $mime->getHTMLBody(),
'body_text' => $mime->getTXTBody(),
]);