method copy documentation in bbn\Appui\Mailing

Copies the email

function(string $id) { if ($row = $this->getMailing($id)) { $id_mailing = $this->add( [ 'title' => $row['title'], 'content' => $row['content'], 'sender' => $row['sender'], 'recipients' => $row['recipients'] ] ); if (!empty($row['medias']) && ($row2 = $this->getMailing($id_mailing))) { foreach ($row['medias'] as $r){ $this->notes->addMediaToNote($r['id'], $row2['id_note'], 1); } } return $id_mailing; } }

Copies the email BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.