Model/ResourceModel/Campaign.php
public function setSent($sendId)
    {
        $bind = [
            'send_status' => \Dotdigitalgroup\Email\Model\Campaign::SENT,
            'sent_at' => $this->datetime->gmtDate()
        ];
        $conn = $this->getConnection();
        $conn->update(
            $this->getMainTable(),
            $bind,
            ['send_id = ?' => $sendId]
        );
    }
public function setSent($sendId)
    {
        $bind = [
            'send_status' => \Dotdigitalgroup\Email\Model\Campaign::SENT,
            'sent_at' => $this->datetime->gmtDate()
        ];
        $conn = $this->getConnection();
        $conn->update(
            $this->getMainTable(),
            $bind,
            ['send_id = ?' => $sendId]
        );
    }
public function setSent ( $ sendId ) { $ bind = [ 'send_status' => \ Dotdigitalgroup \ Email \ Model \ Campaign :: SENT , 'sent_at' => $ this -> datetime -> gmtDate ( ) ] ; $ conn = $ this -> getConnection ( ) ; $ conn -> update ( $ this -> getMainTable ( ) , $ bind , [ 'send_id = ?' => $ sendId ] ) ; }
Set sent.

@param int $sendId

@return null
Set sent .