lib/mail/Mail.php
public function setBatchId($batch_id)
    {
        if (!($batch_id instanceof BatchId)) {
            $batch_id = new BatchId($batch_id);
        }
        $this->batch_id = $batch_id;
    }
public function setBatchId($batch_id)
    {
        if (!($batch_id instanceof BatchId)) {
            $batch_id = new BatchId($batch_id);
        }
        $this->batch_id = $batch_id;
    }
public function setBatchId ( $ batch_id ) { if ( ! ( $ batch_id instanceof BatchId ) ) { $ batch_id = new BatchId ( $ batch_id ) ; } $ this -> batch_id = $ batch_id ; }
Add a batch id to a Mail object

@param string|BatchId $batch_id Id for a batch of emails
to be sent at the same time
Add a batch id to a Mail object